lkml.org 
[lkml]   [2005]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 'BUG: scheduling with irqs disabled' when umounting NFS volume

* Daniel Walker <dwalker@mvista.com> wrote:

> I submitted a fix for this a while ago, I think ..
> interruptible_sleep_on()'s are broken ..

sleep_on() is a fundamentally broken interface, it only works on UP -
but there it _does_ rely on the behavior your patch removes. (i.e.
disabled interrupts until we hit schedule())

the PREEMPT_RT kernel makes the limitations of sleep_on() even more
apparent. The patch only removes the warning, it doesnt remove the race.
To remove the race, sleep_on() usage should be converted to something
else. (e.g. one of the wait_event() variants)

Ingo
-
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/

\
 
 \ /
  Last update: 2005-04-09 06:49    [W:0.065 / U:21.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site