public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Henning P. Schmiedehausen" <hps@intermeta.de>
To: linux-kernel@vger.kernel.org
Subject: Re: PCMCIA 2.5.X sleeping from illegal context
Date: Wed, 14 May 2003 13:25:31 +0000 (UTC)	[thread overview]
Message-ID: <b9tg4b$e3m$1@tangens.hometree.net> (raw)
In-Reply-To: 20030513163323.516ad04b.akpm@digeo.com

Andrew Morton <akpm@digeo.com> writes:

>diff -puN kernel/sched.c~might-sleep-fix kernel/sched.c
>--- 25/kernel/sched.c~might-sleep-fix	Tue May 13 16:32:18 2003
>+++ 25-akpm/kernel/sched.c	Tue May 13 16:32:46 2003
>@@ -2842,8 +2842,8 @@ void __might_sleep(char *file, int line)
> 		if (time_before(jiffies, prev_jiffy + HZ))
> 			return;
> 		prev_jiffy = jiffies;
>-		printk(KERN_ERR "Debug: sleeping function called from illegal"
>-				" context at %s:%d\n", file, line);
>+		printk(KERN_ERR "Debug: sleeping in immoral context "
>+					"at %s:%d\n", file, line);

We could change "in" to "with" to get an X rating for the kernel error
messages. ;-)

	SCNR
		Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

  reply	other threads:[~2003-05-14 13:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 21:35 PCMCIA 2.5.X sleeping from illegal context Paul Fulghum
2003-05-12 21:07 ` Alan Cox
2003-05-12 12:36   ` Paul Fulghum
2003-05-12 22:48     ` Russell King
2003-05-13 15:23       ` Paul Fulghum
2003-05-13 16:00         ` David Hinds
2003-05-12 22:31   ` Russell King
2003-05-12 23:16     ` Felipe Alfaro Solana
2003-05-12 23:36       ` Richard B. Johnson
2003-05-12 23:52         ` Paul Fulghum
2003-05-13 13:37         ` Alan Cox
2003-05-13 23:33           ` Andrew Morton
2003-05-14 13:25             ` Henning P. Schmiedehausen [this message]
2003-05-13  2:07       ` Thomas Molina
2003-05-13  0:36         ` Felipe Alfaro Solana
2003-05-12 23:11   ` Felipe Alfaro Solana
2003-05-12 22:06 ` David Hinds
2003-05-12 12:37   ` Paul Fulghum
2003-05-12 22:44 ` Andrew Morton
2003-05-12 23:10   ` David Hinds

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='b9tg4b$e3m$1@tangens.hometree.net' \
    --to=hps@intermeta.de \
    --cc=linux-kernel@vger.kernel.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