login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
26
Re: [PATCH 1/4] module: implement module_inhibit_unload()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alan Stern <stern@...>
To: Tejun Heo <htejun@...>
Cc: Jonathan Corbet <corbet@...>, <ebiederm@...>, <cornelia.huck@...>, <greg@...>, <kay.sievers@...>, <linux-kernel@...>, <rusty@...>
Subject:
Re: [PATCH 1/4] module: implement module_inhibit_unload()
Date: Wednesday, September 26, 2007 - 10:39 am
On Wed, 26 Sep 2007, Tejun Heo wrote:
quoted text
> >> Hmmm... I might be missing something here. Who else can wake up a > >> thread in uninterruptible sleep? > > > > In principle, anything can. There has never been any guarantee in the > > kernel that a task sleeping on a waitqueue will remain asleep until > > the waitqueue is signalled. That's part of the reason why things like > > __wait_event() are coded as loops. > > Hmmm... I always thought the queue was because the condition can change > inbetween waking up and actually running. For example, if the condition > is !(queue empty), another task can enter the critical section and > consume the element which triggered wake up before the woken up task do.
That's the other part of the reason for using a loop. :-) Alan Stern -
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:
[PATCHSET 2/4] sysfs: allow suicide
, Tejun Heo
, (Thu Sep 20, 3:26 am)
Re: [PATCHSET 2/4] sysfs: allow suicide
, Greg KH
, (Tue Sep 25, 6:02 pm)
[PATCH 4/4] sysfs: make suicidal nodes just do it directly
, Tejun Heo
, (Thu Sep 20, 3:26 am)
Re: [PATCH 4/4] sysfs: make suicidal nodes just do it directly
, Cornelia Huck
, (Fri Sep 28, 9:54 am)
Re: [PATCH 4/4] sysfs: make suicidal nodes just do it directly
, Tejun Heo
, (Fri Sep 28, 10:27 am)
Re: [PATCH 4/4] sysfs: make suicidal nodes just do it directly
, Cornelia Huck
, (Thu Sep 20, 5:24 am)
Re: [PATCH 4/4] sysfs: make suicidal nodes just do it directly
, Tejun Heo
, (Thu Sep 20, 5:43 am)
[PATCH 3/4] sysfs: care-free suicide for sysfs files
, Tejun Heo
, (Thu Sep 20, 3:26 am)
[PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Thu Sep 20, 3:26 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Jonathan Corbet
, (Mon Sep 24, 6:00 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Mon Sep 24, 7:18 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Alan Stern
, (Tue Sep 25, 10:24 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 10:30 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Alan Stern
, (Tue Sep 25, 11:09 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 7:15 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Alan Stern
, (Wed Sep 26, 10:39 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Tue Sep 25, 7:41 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 9:42 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Mon Sep 24, 7:42 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Mon Sep 24, 9:40 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Mon Sep 24, 10:12 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Mon Sep 24, 10:39 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Mon Sep 24, 11:21 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Mon Sep 24, 11:36 pm)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Tue Sep 25, 12:38 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 4:25 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 4:36 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Rusty Russell
, (Tue Sep 25, 4:50 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Tejun Heo
, (Tue Sep 25, 10:05 am)
Re: [PATCH 1/4] module: implement module_inhibit_unload()
, Cornelia Huck
, (Tue Sep 25, 4:01 am)
[PATCH 2/4] sysfs: make the sysfs_addrm_cxt->removed list FIFO
, Tejun Heo
, (Thu Sep 20, 3:26 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Gabriel C
Re: 2.6.22-rc4-mm1
Andrew Morton
-mm merge plans for 2.6.23
linux-netdev
:
David Miller
[GIT]: Networking
Antonio Almeida
HTB accuracy for high speed
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Sander
'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
768 guests
online.
Syndicate