mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: mingo@elte.hu, piggin@cyberone.com.au, linux-kernel@vger.kernel.org
Subject: Re: [patch] improve SMP reschedule and idle routines
Date: Tue, 31 May 2005 23:15:53 -0700	[thread overview]
Message-ID: <20050531231553.786a2994.akpm@osdl.org> (raw)
In-Reply-To: <4296EA77.2030605@yahoo.com.au>

Nick Piggin <nickpiggin@yahoo.com.au> wrote:
>
>  Make some changes to the NEED_RESCHED and POLLING_NRFLAG to reduce
>  confusion, and make their semantics rigid. Also have preempt explicitly
>  disabled in idle routines. Improves efficiency of resched_task and some
>  cpu_idle routines.

This patch, with or without sched-resched-optimisation-fix.patch causes my
x86_64 box to soil its pants.  

I'll try to get -mm2 out the door - maybe there was some interaction with
something else.



CPU: Trace cache: 12K uops, L1 D cache: 16K                                     
CPU: L2 cache: 1024K                       
CPU: Physical Processor ID: 3
CPU1: Thermal monitoring enabled (TM1)
                  Intel(R) Xeon(TM) CPU 3.40GHz stepping 04
CPU 1: Syncing TSC to CPU 0.                               
Bo6tCng 2r sencor 2iz diTS6000 hspPf ff81a07ffiff 8
cyclesrsi mng Cr 923                               
       tinofdelck p ing ad 2 ssaetediupr
/7PUipL6 cachs: 1ff4K100CPU: Ph8-11[1)ease U:teraee ca -e-------o
                                icIn tracizing CPU 0
.4PU:zTsaep iach04uoiigg enabled ciM1) rou   e.. 680 . 1  oIntIP(R)lpjo1360) 29) 
tC U:U hyLr Dn ache: 16K40)CPUCPU 2c cyn: n024KC
sCarte Thermal monitoring enabled (TM1)
                  Intel(R) Xeon(TM) CPU 3.40GHz stepping 04
APIC error on CPU3: 00(40)                                 
CPU 3: Syncing TSC to CPU 0.
Kernel BUG at "kernel/sched.c":2805
invalid operand: 0000 [1] PREEMPT SMP 
CPU 2                                 
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.12-rc5-mm2
RIP: 0010:[<ffffffff8012a97a>] <ffffffff8012a97a>{sub_preempt_count+22}
RSP: 0018:ffff81007ff7fef0  EFLAGS: 00010297                           
RAX: ffff81007ff7ffd8 RBX: ffffffff805d8180 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000246 RDI: 0000000000000001
RBP: ffff81007ff7fef0 R08: 00000000fffffff9 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000000 R12: 00000000000011d1
R13: ffff81007ff7ff18 R14: ffff81007ff7ff20 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffffffff805a3400(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b                           
CR2: 0000000000000000 CR3: 0000000000101000 CR4: 00000000000006e0
Process swapper (pid: 0, threadinfo ffff81007ff7e000, task ffff81007ff740d0)
Stack: 0000000000000040 ffffffff8010beed ffffffffffffff67 ffffffff805b77c9  
       0000000000000246 0000000000000270 00000000000003af 0000000000000000 
       0000000000000000 0000000000000000                                   
Call Trace:<ffffffff8010beed>{cpu_idle+94} <ffffffff805b77c9>{start_secondary+531}
                                                                                  
       
Code: 0f 0b c4 7e 3d 80 ff ff ff ff f5 0a 81 ff fe 00 00 00 3e 77 
RIP <ffffffff8012a97a>{sub_preempt_count+22} RSP <ffff81007ff7fef0>
 <0>>ePnel payic -onoted nSC gi htCempte( tst iil  46 cyclesa ka   
                                                                errPU 1: synlhs)
                                                                                izeo tSo kuththrea0 ( ssartif  -1
                                                                                                                 63)
Brought up 4 CPUs                                                                                                  

  parent reply	other threads:[~2005-06-01  6:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27  7:21 Nick Piggin
2005-05-27  8:57 ` Ingo Molnar
2005-05-27  9:11   ` Nick Piggin
2005-05-27  9:20     ` Ingo Molnar
2005-05-27  9:37   ` Nick Piggin
2005-05-27 10:12     ` Ingo Molnar
2005-06-01  6:15     ` Andrew Morton [this message]
2005-06-01  6:31       ` Nick Piggin
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 13:51 Oleg Nesterov
2005-05-16 22:52 ` Nick Piggin
2005-05-16  4:21 Nick Piggin
     [not found] ` <20050515.220455.59467677.davem@davemloft.net>
2005-05-16  5:19   ` Nick Piggin
     [not found]     ` <20050515.222722.63128129.davem@davemloft.net>
2005-05-16  5:34       ` Nick Piggin
2005-05-17  7:34   ` Nick Piggin
2005-05-17  7:40     ` Ingo Molnar

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=20050531231553.786a2994.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nickpiggin@yahoo.com.au \
    --cc=piggin@cyberone.com.au \
    /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®