All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: anton wilson <anton.wilson@camotion.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: printks in the scheduler freeze during scripts
Date: Thu, 27 Jun 2002 07:15:51 -0700	[thread overview]
Message-ID: <3D1B1E17.EC626EFD@zip.com.au> (raw)
In-Reply-To: 200206271349.JAA16318@test-area.com

anton wilson wrote:
> 
> I'm running linux 2.4.17 and Redhat 7.2 with the preemptive and low latency
> patches, and whenever I stick printks in the scheduler(void) my system
> freezes somewhere after it tries to load the system font. Where it stops
> seems to be random. I can only run under single user mode without my system
> freezing. Does anyone have any clues why? Or any better ways to go about
> tracking the scheduling of processes in the scheduler?
> 

printk() calls wake_up(), to give klogd a kick.  So a printk
from the scheduler tends to deadlock.  Just delete the
last two lines of kernel/printk.c:release_console_sem() and it
should work OK.

  reply	other threads:[~2002-06-27 14:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 14:03 printks in the scheduler freeze during scripts anton wilson
2002-06-27 14:15 ` Andrew Morton [this message]
2002-06-28 11:56 ` Michael S. Zick

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=3D1B1E17.EC626EFD@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=anton.wilson@camotion.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.