mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] kill sleep_on
Date: Sat, 17 Jan 2004 19:28:21 +0000	[thread overview]
Message-ID: <1074367701.9965.2.camel@imladris.demon.co.uk> (raw)
In-Reply-To: <40098251.2040009@colorfullife.com>

On Sat, 2004-01-17 at 19:43 +0100, Manfred Spraul wrote:
> 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.

Deprecate it in 2.7.0 and add BUG_ON(BKL not held) to it. Not before
time.

-- 
dwmw2



  parent reply	other threads:[~2004-01-17 19:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-17 18:43 Manfred Spraul
2004-01-17 19:19 ` Arjan van de Ven
2004-01-17 19:28 ` David Woodhouse [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074367701.9965.2.camel@imladris.demon.co.uk \
    --to=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®