mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.33 preempt, schedule() with irqs disabled
@ 2002-09-01 11:03 Peter Osterlund
  0 siblings, 0 replies; only message in thread
From: Peter Osterlund @ 2002-09-01 11:03 UTC (permalink / raw)
  To: linux-kernel

[I first reported this problem in 2.5.29 but now I have more details.]

In 2.5.33, with CONFIG_PREEMPT enabled on an x86 UP machine, I can
reliably provoke the message "bad: schedule() with irqs disabled!". It
happens if I use ssh to login to the machine running 2.5.33, then
start xv or ee to display a large image using the encrypted X11
connection.

The problem goes away if I use rlogin instead of slogin. The machine
has a 233MHz CPU and the network is 100Mbit, so when using slogin the
image data transfer speed is CPU limited but when using rlogin the cpu
is about 50% idle.

The problem does not happen if I use scp to copy a large file from the
test machine. When using scp the machine generates about 2000
interrupts/s compared to 5500 ints/s when transferring the image data.

Disabling CONFIG_PREEMPT also makes the problem go away.

Here is a backtrace:

        Trace; c0110a38 <global_flush_tlb+1e8/200>
        Trace; c0110a5b <wake_up_process+b/5b0>
        Trace; c01191ce <do_softirq+9e/b0>
        Trace; c024945c <ip_cmsg_recv+4b2c/5150>
        Trace; c022ddcb <alloc_skb+2cb/330>
        Trace; c0265b88 <unregister_inetaddr_notifier+1ce8/2080>
        Trace; c022a995 <sock_sendmsg+75/a0>
        Trace; c022ac9e <sock_recvmsg+2de/7d0>
        Trace; c022ad21 <sock_recvmsg+361/7d0>
        Trace; c013a03c <vfs_write+44c/ca0>
        Trace; c022ad7e <sock_recvmsg+3be/7d0>
        Trace; c01487d7 <kill_fasync+3e7/440>
        Trace; c013a259 <vfs_write+669/ca0>
        Trace; c0107567 <__up_wakeup+10fb/2644>

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-01 10:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-01 11:03 2.5.33 preempt, schedule() with irqs disabled Peter Osterlund

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®