login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
24
Re: [PATCH 3/3] futex: fix miss ordered wakeups
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Daniel Walker
Subject:
Re: [PATCH 3/3] futex: fix miss ordered wakeups
Date: Saturday, May 24, 2008 - 10:24 am
On Sat, 2008-05-24 at 19:03 +0200, Thomas Gleixner wrote:
quoted text
> On Sat, 24 May 2008, Daniel Walker wrote: > > On Sat, 2008-05-24 at 10:55 +0200, Thomas Gleixner wrote: > > > > > Normal futexes have no ordering guarantees at all. There is no > > > mechanism to prevent lock stealing from lower priority tasks. So why > > > should we care about the once a year case, where a sleepers priority > > > is modified ? > > > > Lock stealing? > > Do you have the faintest idea how the futex code works at all ? There > is no guarantee that the task which is woken up first gets the futex.
Thomas if you want to be abusive, talk to someone else.
quoted text
> A) A task on another CPU can get it independent of its priority > B) In case of multiple waiters wakeup there is no guarantee either
This is how I would imagine the pre-plist code would work.
quoted text
> > > If you need ordering guarantees then use PI futexes. > > > > There are degree's of overhead with each step.. Someone may not need or > > want priority inheritance. > > Then there is no need to add this artifical "correctness" at all.
huh?
quoted text
> > > There are more issues vs. pi futexes as well. The simple case of > > > futex_wait() vs. futex_adjust_waiters will just upset lockdep, but > > > there are real dealocks vs. unqueue_me_pi waiting. > > > > You mean the lock ordering would cause the deadlock vs. unqueue_me_pi , > > or are you talking about something else? > > Do I write Chinese or what ?
I guess so .. Daniel --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Thu May 22, 12:00 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Ulrich Drepper
, (Thu May 22, 10:02 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Thu May 22, 10:15 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Ulrich Drepper
, (Thu May 22, 10:24 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Thu May 22, 10:36 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Ulrich Drepper
, (Fri May 23, 8:38 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Thomas Gleixner
, (Sat May 24, 1:55 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Sat May 24, 8:32 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Thomas Gleixner
, (Sat May 24, 10:03 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Sat May 24, 10:24 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Thomas Gleixner
, (Sat May 24, 11:35 am)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Daniel Walker
, (Sat May 24, 12:19 pm)
Re: [PATCH 3/3] futex: fix miss ordered wakeups
, Arjan van de Ven
, (Sat May 24, 1:34 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Josef 'Jeff' Sipek
[PATCH 23/24] Unionfs: Kconfig and Makefile
Uwe
NOHZ: local_softirq_pending 20
Jens Axboe
Re: [PATCH] BUG: ll_merge_requests_fn() updates req->nr_phys_segments wrongly
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Stephan Beyer
Re: git sequencer prototype
Frans Pop
'git gc --aggressive' effectively unusable
Lynn Lin
Re: clearcase migration to git
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH v5] rfs: Receive Flow Steering
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Holland
Re: Upgrade 4.1->4.2->4.3
Siju George
Re: Blocking Teamviewer
git-commits-head
:
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
md: fix some (more) errors with bitmaps on devices larger than 2TB.
Linux Kernel Mailing List
udp: fix for unicast RX path optimization
Linux Kernel Mailing List
powerpc: Convert mmu context allocator from idr to ida
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Colocation donated by:
Syndicate