mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Roland Dreier <roland@digitalvampire.org>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Linux 2.6.0-test8 __might_sleep warnings on boot
Date: Sat, 18 Oct 2003 16:14:39 -0700	[thread overview]
Message-ID: <20031018161439.484915f8.akpm@osdl.org> (raw)
In-Reply-To: <87he26p6pq.fsf@love-shack.home.digitalvampire.org>

Roland Dreier <roland@digitalvampire.org> wrote:
>
>  +	/* __might_sleep checks now make sense */
>  +	init_idle_done = 1;

We already have the `system_running' flag which is suitable for this.

I've been dithering over whether we should use it, mainly because doing
things like downing a semaphore before we've even called sched_init()
(cpufreq) is a happens-to-be-harmless but fairly dumb thing to do.

Yes, we should probably do something like this, but later.


  reply	other threads:[~2003-10-18 23:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-18 21:38 Roland Dreier
2003-10-18 23:14 ` Andrew Morton [this message]
2003-10-19  0:11   ` Roland Dreier
2003-10-19  0:21     ` Andrew Morton
2003-10-19  1:19       ` Roland Dreier
2003-10-19  1:53         ` Jesper Juhl
2003-10-19 19:17           ` Roland Dreier
2003-10-20  8:28             ` Jesper Juhl

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=20031018161439.484915f8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@digitalvampire.org \
    --cc=torvalds@osdl.org \
    /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®