The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [RFC] kill sleep_on
@ 2004-01-17 18:43 Manfred Spraul
  2004-01-17 19:19 ` Arjan van de Ven
  2004-01-17 19:28 ` David Woodhouse
  0 siblings, 2 replies; 15+ messages in thread
From: Manfred Spraul @ 2004-01-17 18:43 UTC (permalink / raw)
  To: linux-kernel

Virtually all sleep_on / interruptible_sleep_on users are racy. Actually
there is only one safe case: if both wakeup and sleep happen under
lock_kernel.
Any objections against killing it entirely? Or what about marking it as
deprecated, as the first step towards killing it?

I'll follow with two patches that remove it from shaper and sunrpc/sched
- shaper is racy, rpciod_down is only safe if called with lock_kernel.

--
    Manfred



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-01-18 17:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-17 18:43 [RFC] kill sleep_on Manfred Spraul
2004-01-17 19:19 ` Arjan van de Ven
2004-01-17 19:28 ` David Woodhouse
2004-01-17 20:10   ` viro
2004-01-17 23:18     ` Trond Myklebust
2004-01-17 23:45     ` David Woodhouse
2004-01-18  6:41       ` Andrew Morton
2004-01-18  6:57         ` Trond Myklebust
2004-01-18  7:05           ` Trond Myklebust
2004-01-18  7:36           ` Andrew Morton
2004-01-18  7:44             ` Manfred Spraul
2004-01-18  8:03               ` Trond Myklebust
2004-01-18  8:18                 ` Manfred Spraul
2004-01-18 17:07                   ` Trond Myklebust
2004-01-18  7:54             ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox