lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081124172204.GA11971@elte.hu>
Date:	Mon, 24 Nov 2008 18:22:04 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	Mike Travis <travis@....com>, linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PULL] cpumask conversion patches for sched


* Ingo Molnar <mingo@...e.hu> wrote:

> Based on these good test results i've also integrated a new 
> cpus4096-next tree and pushed it out for linux-next pickup.

... and exactly one minute after i sent that mail, -tip testing found 
a CPU hotplug lockdep splat, introduced by your patches:

  [ INFO: hard-safe -> hard-unsafe lock order detected ]

see the full splat below. Reproducer is:

  echo 0 > /sys/devices/system/cpu/cpu1/online
  sleep 1
  echo 1 > /sys/devices/system/cpu/cpu1/online
  sleep 1
  echo 0 > /sys/devices/system/cpu/cpu1/online
  sleep 1
  echo 1 > /sys/devices/system/cpu/cpu1/online

config attached. I've excluded the topic for now.

	Ingo

-------------->
CPU 1 is now offline
lockdep: fixing up alternatives.
SMP alternatives: switching to UP code

======================================================
[ INFO: hard-safe -> hard-unsafe lock order detected ]
2.6.28-rc6-tip-00766-g9f03358-dirty #1566
------------------------------------------------------
S99local/3134 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
 (&p->alloc_lock){--..}, at: [<c01883e7>] cpuset_cpus_allowed_locked+0x27/0x50

and this task is already holding:
 (&rq->lock){++..}, at: [<c0140384>] task_rq_lock+0x54/0x90
which would create a new lock dependency:
 (&rq->lock){++..} -> (&p->alloc_lock){--..}

but this new dependency connects a hard-irq-safe lock:
 (&rq->lock){++..}
... which became hard-irq-safe at:
  [<c0173d9e>] __lock_acquire+0x9be/0x1380
  [<c01747e9>] lock_acquire+0x89/0xc0
  [<c09257e8>] _spin_lock+0x38/0x50
  [<c014c465>] scheduler_tick+0x45/0x1c0
  [<c0159462>] update_process_times+0x52/0x70
  [<c016dd0a>] tick_periodic+0x2a/0x80
  [<c016dd7e>] tick_handle_periodic+0x1e/0x80
  [<c011ef15>] timer_interrupt+0x35/0x80
  [<c018ece0>] handle_IRQ_event+0x30/0x70
  [<c0190955>] handle_level_irq+0x75/0xe0
  [<ffffffff>] 0xffffffff

to a hard-irq-unsafe lock:
 (&p->alloc_lock){--..}
... which became hard-irq-unsafe at:
...  [<c0173c51>] __lock_acquire+0x871/0x1380
  [<c01747e9>] lock_acquire+0x89/0xc0
  [<c09257e8>] _spin_lock+0x38/0x50
  [<c01c7707>] set_task_comm+0x27/0x60
  [<c0163f01>] kthreadd+0x21/0x160
  [<c011cd0b>] kernel_thread_helper+0x7/0x10
  [<ffffffff>] 0xffffffff

other info that might help us debug this:

6 locks held by S99local/3134:
 #0:  (&buffer->mutex){--..}, at: [<c02025ef>] sysfs_write_file+0x2f/0x110
 #1:  (cpu_add_remove_lock){--..}, at: [<c0150af4>] cpu_maps_update_begin+0x14/0x20
 #2:  (&cpu_hotplug.lock){--..}, at: [<c0150b5f>] cpu_hotplug_begin+0x1f/0x50
 #3:  (callback_mutex){--..}, at: [<c0187cd4>] cpuset_lock+0x14/0x20
 #4:  (tasklist_lock){..--}, at: [<c0921bda>] migration_call+0x1da/0x4a0
 #5:  (&rq->lock){++..}, at: [<c0140384>] task_rq_lock+0x54/0x90

the hard-irq-safe lock's dependencies:
-> (&rq->lock){++..} ops: 143281 {
   initial-use  at:
                        [<c017359d>] __lock_acquire+0x1bd/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c0925908>] _spin_lock_irqsave+0x58/0x70
                        [<c014332d>] rq_attach_root+0x1d/0xb0
                        [<c0ce8fa7>] sched_init+0x327/0x4a0
                        [<c0cd2694>] start_kernel+0x154/0x360
                        [<c0cd2066>] i386_start_kernel+0x66/0x70
                        [<ffffffff>] 0xffffffff
   in-hardirq-W at:
                        [<c0173d9e>] __lock_acquire+0x9be/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c09257e8>] _spin_lock+0x38/0x50
                        [<c014c465>] scheduler_tick+0x45/0x1c0
                        [<c0159462>] update_process_times+0x52/0x70
                        [<c016dd0a>] tick_periodic+0x2a/0x80
                        [<c016dd7e>] tick_handle_periodic+0x1e/0x80
                        [<c011ef15>] timer_interrupt+0x35/0x80
                        [<c018ece0>] handle_IRQ_event+0x30/0x70
                        [<c0190955>] handle_level_irq+0x75/0xe0
                        [<ffffffff>] 0xffffffff
   in-softirq-W at:
                        [<c0173b46>] __lock_acquire+0x766/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c0925908>] _spin_lock_irqsave+0x58/0x70
                        [<c014782a>] tg_shares_up+0x13a/0x190
                        [<c013f9cb>] walk_tg_tree+0xab/0xe0
                        [<c0143416>] update_shares+0x56/0x70
                        [<c0149c6f>] rebalance_domains+0xff/0x440
                        [<c014a9a6>] run_rebalance_domains+0x36/0xc0
                        [<c01547b9>] __do_softirq+0xa9/0x180
                        [<ffffffff>] 0xffffffff
 }
 ... key      at: [<c0d7ff20>] __key.44534+0x0/0x8
 -> (&vec->lock){.+..} ops: 859 {
    initial-use  at:
                          [<c017359d>] __lock_acquire+0x1bd/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925908>] _spin_lock_irqsave+0x58/0x70
                          [<c019f57f>] cpupri_set+0x7f/0xd0
                          [<c01425b0>] rq_online_rt+0x40/0x70
                          [<c013f4db>] set_rq_online+0x4b/0x60
                          [<c0143387>] rq_attach_root+0x77/0xb0
                          [<c0ce8fa7>] sched_init+0x327/0x4a0
                          [<c0cd2694>] start_kernel+0x154/0x360
                          [<c0cd2066>] i386_start_kernel+0x66/0x70
                          [<ffffffff>] 0xffffffff
    in-softirq-W at:
                          [<c0173b46>] __lock_acquire+0x766/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925908>] _spin_lock_irqsave+0x58/0x70
                          [<c019f54c>] cpupri_set+0x4c/0xd0
                          [<c01481bb>] __enqueue_rt_entity+0xcb/0x200
                          [<c014835b>] enqueue_rt_entity+0x1b/0x30
                          [<c014839f>] enqueue_task_rt+0x2f/0x50
                          [<c013fd9c>] enqueue_task+0x5c/0x80
                          [<c013fddf>] activate_task+0x1f/0x30
                          [<c0147de8>] try_to_wake_up+0x248/0x2c0
                          [<c0147eb4>] wake_up_process+0x14/0x20
                          [<c0158fbd>] process_timeout+0xd/0x10
                          [<c0158dd1>] run_timer_softirq+0x181/0x1c0
                          [<c01547b9>] __do_softirq+0xa9/0x180
                          [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c133c0f4>] __key.13648+0x0/0xc
 ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c0925908>] _spin_lock_irqsave+0x58/0x70
   [<c019f57f>] cpupri_set+0x7f/0xd0
   [<c01425b0>] rq_online_rt+0x40/0x70
   [<c013f4db>] set_rq_online+0x4b/0x60
   [<c0143387>] rq_attach_root+0x77/0xb0
   [<c0ce8fa7>] sched_init+0x327/0x4a0
   [<c0cd2694>] start_kernel+0x154/0x360
   [<c0cd2066>] i386_start_kernel+0x66/0x70
   [<ffffffff>] 0xffffffff

 -> (&rt_b->rt_runtime_lock){.+..} ops: 24 {
    initial-use  at:
                          [<c017359d>] __lock_acquire+0x1bd/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c09257e8>] _spin_lock+0x38/0x50
                          [<c014822c>] __enqueue_rt_entity+0x13c/0x200
                          [<c014835b>] enqueue_rt_entity+0x1b/0x30
                          [<c014839f>] enqueue_task_rt+0x2f/0x50
                          [<c013fd9c>] enqueue_task+0x5c/0x80
                          [<c013fddf>] activate_task+0x1f/0x30
                          [<c0147de8>] try_to_wake_up+0x248/0x2c0
                          [<c0147eb4>] wake_up_process+0x14/0x20
                          [<c0921a90>] migration_call+0x90/0x4a0
                          [<c0ce9158>] migration_init+0x38/0x50
                          [<c010111f>] do_one_initcall+0x2f/0x170
                          [<c0cd294a>] kernel_init+0x5a/0x170
                          [<c011cd0b>] kernel_thread_helper+0x7/0x10
                          [<ffffffff>] 0xffffffff
    in-softirq-W at:
                          [<c0173b46>] __lock_acquire+0x766/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c09257e8>] _spin_lock+0x38/0x50
                          [<c014822c>] __enqueue_rt_entity+0x13c/0x200
                          [<c014835b>] enqueue_rt_entity+0x1b/0x30
                          [<c014839f>] enqueue_task_rt+0x2f/0x50
                          [<c013fd9c>] enqueue_task+0x5c/0x80
                          [<c013fddf>] activate_task+0x1f/0x30
                          [<c0147de8>] try_to_wake_up+0x248/0x2c0
                          [<c0147eb4>] wake_up_process+0x14/0x20
                          [<c0149f6d>] rebalance_domains+0x3fd/0x440
                          [<c014a9a6>] run_rebalance_domains+0x36/0xc0
                          [<c01547b9>] __do_softirq+0xa9/0x180
                          [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c0d7ff10>] __key.35881+0x0/0x8
  -> (&cpu_base->lock){++..} ops: 25602 {
     initial-use  at:
                            [<c017359d>] __lock_acquire+0x1bd/0x1380
                            [<c01747e9>] lock_acquire+0x89/0xc0
                            [<c0925897>] _spin_lock_irq+0x47/0x60
                            [<c0167286>] run_hrtimer_pending+0x16/0x150
                            [<c0167b21>] hrtimer_run_pending+0x71/0x160
                            [<c0158c72>] run_timer_softirq+0x22/0x1c0
                            [<c01547b9>] __do_softirq+0xa9/0x180
                            [<ffffffff>] 0xffffffff
     in-hardirq-W at:
                            [<c0173d9e>] __lock_acquire+0x9be/0x1380
                            [<c01747e9>] lock_acquire+0x89/0xc0
                            [<c09257e8>] _spin_lock+0x38/0x50
                            [<c0167d09>] hrtimer_run_queues+0xf9/0x1a0
                            [<c01590cd>] run_local_timers+0xd/0x20
                            [<c0159444>] update_process_times+0x34/0x70
                            [<c016dd0a>] tick_periodic+0x2a/0x80
                            [<c016dd7e>] tick_handle_periodic+0x1e/0x80
                            [<c012fd0b>] smp_apic_timer_interrupt+0x5b/0x90
                            [<c011cbe1>] apic_timer_interrupt+0x2d/0x34
                            [<c01507b0>] printk+0x20/0x30
                            [<c0101201>] do_one_initcall+0x111/0x170
                            [<c0cd294a>] kernel_init+0x5a/0x170
                            [<c011cd0b>] kernel_thread_helper+0x7/0x10
                            [<ffffffff>] 0xffffffff
     in-softirq-W at:
                            [<c0173b46>] __lock_acquire+0x766/0x1380
                            [<c01747e9>] lock_acquire+0x89/0xc0
                            [<c0925897>] _spin_lock_irq+0x47/0x60
                            [<c0167286>] run_hrtimer_pending+0x16/0x150
                            [<c0167b21>] hrtimer_run_pending+0x71/0x160
                            [<c0158c72>] run_timer_softirq+0x22/0x1c0
                            [<c01547b9>] __do_softirq+0xa9/0x180
                            [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c0f82ed8>] __key.20177+0x0/0x8
  ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c0925908>] _spin_lock_irqsave+0x58/0x70
   [<c0167618>] lock_hrtimer_base+0x28/0x50
   [<c01676ae>] hrtimer_start_range_ns+0x1e/0x180
   [<c0148273>] __enqueue_rt_entity+0x183/0x200
   [<c014835b>] enqueue_rt_entity+0x1b/0x30
   [<c014839f>] enqueue_task_rt+0x2f/0x50
   [<c013fd9c>] enqueue_task+0x5c/0x80
   [<c013fddf>] activate_task+0x1f/0x30
   [<c0147de8>] try_to_wake_up+0x248/0x2c0
   [<c0147eb4>] wake_up_process+0x14/0x20
   [<c0921a90>] migration_call+0x90/0x4a0
   [<c0ce9158>] migration_init+0x38/0x50
   [<c010111f>] do_one_initcall+0x2f/0x170
   [<c0cd294a>] kernel_init+0x5a/0x170
   [<c011cd0b>] kernel_thread_helper+0x7/0x10
   [<ffffffff>] 0xffffffff

  -> (&rt_rq->rt_runtime_lock){+...} ops: 458 {
     initial-use  at:
                            [<c017359d>] __lock_acquire+0x1bd/0x1380
                            [<c01747e9>] lock_acquire+0x89/0xc0
                            [<c09257e8>] _spin_lock+0x38/0x50
                            [<c014ada9>] update_curr_rt+0x169/0x250
                            [<c014afbb>] dequeue_task_rt+0x1b/0x40
                            [<c0140100>] dequeue_task+0xe0/0x130
                            [<c014016f>] deactivate_task+0x1f/0x30
                            [<c092388b>] schedule+0x49b/0x8c0
                            [<c014a585>] migration_thread+0x155/0x250
                            [<c0163ea7>] kthread+0x47/0x80
                            [<c011cd0b>] kernel_thread_helper+0x7/0x10
                            [<ffffffff>] 0xffffffff
     in-hardirq-W at:
                            [<c0173d9e>] __lock_acquire+0x9be/0x1380
                            [<c01747e9>] lock_acquire+0x89/0xc0
                            [<c09257e8>] _spin_lock+0x38/0x50
                            [<c014b103>] sched_rt_period_timer+0x123/0x280
                            [<c01674ec>] __run_hrtimer+0x9c/0xb0
                            [<c0167d87>] hrtimer_run_queues+0x177/0x1a0
                            [<c01590cd>] run_local_timers+0xd/0x20
                            [<c0159444>] update_process_times+0x34/0x70
                            [<c016dd0a>] tick_periodic+0x2a/0x80
                            [<c016dd7e>] tick_handle_periodic+0x1e/0x80
                            [<c012fd0b>] smp_apic_timer_interrupt+0x5b/0x90
                            [<c011cbe1>] apic_timer_interrupt+0x2d/0x34
                            [<c01507b0>] printk+0x20/0x30
                            [<c0101226>] do_one_initcall+0x136/0x170
                            [<c0cd2a02>] kernel_init+0x112/0x170
                            [<c011cd0b>] kernel_thread_helper+0x7/0x10
                            [<ffffffff>] 0xffffffff
   }
   ... key      at: [<c0d7ff18>] __key.44461+0x0/0x8
  ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c09257e8>] _spin_lock+0x38/0x50
   [<c0142474>] __enable_runtime+0x64/0xd0
   [<c0142596>] rq_online_rt+0x26/0x70
   [<c013f4db>] set_rq_online+0x4b/0x60
   [<c0921abe>] migration_call+0xbe/0x4a0
   [<c0168c8b>] notifier_call_chain+0x4b/0x70
   [<c0168d6e>] __raw_notifier_call_chain+0x1e/0x30
   [<c0168d9f>] raw_notifier_call_chain+0x1f/0x30
   [<c0921fb0>] _cpu_up+0xb0/0x100
   [<c092204d>] cpu_up+0x4d/0x70
   [<c0cd29a0>] kernel_init+0xb0/0x170
   [<c011cd0b>] kernel_thread_helper+0x7/0x10
   [<ffffffff>] 0xffffffff

 ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c09257e8>] _spin_lock+0x38/0x50
   [<c014822c>] __enqueue_rt_entity+0x13c/0x200
   [<c014835b>] enqueue_rt_entity+0x1b/0x30
   [<c014839f>] enqueue_task_rt+0x2f/0x50
   [<c013fd9c>] enqueue_task+0x5c/0x80
   [<c013fddf>] activate_task+0x1f/0x30
   [<c0147de8>] try_to_wake_up+0x248/0x2c0
   [<c0147eb4>] wake_up_process+0x14/0x20
   [<c0921a90>] migration_call+0x90/0x4a0
   [<c0ce9158>] migration_init+0x38/0x50
   [<c010111f>] do_one_initcall+0x2f/0x170
   [<c0cd294a>] kernel_init+0x5a/0x170
   [<c011cd0b>] kernel_thread_helper+0x7/0x10
   [<ffffffff>] 0xffffffff

 ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c09257e8>] _spin_lock+0x38/0x50
   [<c014ada9>] update_curr_rt+0x169/0x250
   [<c014afbb>] dequeue_task_rt+0x1b/0x40
   [<c0140100>] dequeue_task+0xe0/0x130
   [<c014016f>] deactivate_task+0x1f/0x30
   [<c092388b>] schedule+0x49b/0x8c0
   [<c014a585>] migration_thread+0x155/0x250
   [<c0163ea7>] kthread+0x47/0x80
   [<c011cd0b>] kernel_thread_helper+0x7/0x10
   [<ffffffff>] 0xffffffff

 -> (&rq->lock/1){.+..} ops: 617 {
    initial-use  at:
                          [<c017359d>] __lock_acquire+0x1bd/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925796>] _spin_lock_nested+0x36/0x50
                          [<c0147ab6>] double_rq_lock+0x76/0x90
                          [<c0149d02>] rebalance_domains+0x192/0x440
                          [<c014a9a6>] run_rebalance_domains+0x36/0xc0
                          [<c01547b9>] __do_softirq+0xa9/0x180
                          [<ffffffff>] 0xffffffff
    in-softirq-W at:
                          [<c0173b46>] __lock_acquire+0x766/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925796>] _spin_lock_nested+0x36/0x50
                          [<c0147ab6>] double_rq_lock+0x76/0x90
                          [<c0149d02>] rebalance_domains+0x192/0x440
                          [<c014a9a6>] run_rebalance_domains+0x36/0xc0
                          [<c01547b9>] __do_softirq+0xa9/0x180
                          [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c0d7ff21>] __key.44534+0x1/0x8
 ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c0925796>] _spin_lock_nested+0x36/0x50
   [<c0147ab6>] double_rq_lock+0x76/0x90
   [<c0149d02>] rebalance_domains+0x192/0x440
   [<c014a9a6>] run_rebalance_domains+0x36/0xc0
   [<c01547b9>] __do_softirq+0xa9/0x180
   [<ffffffff>] 0xffffffff

 -> (&cpu_buffer->reader_lock){.+..} ops: 5064 {
    initial-use  at:
                          [<c017359d>] __lock_acquire+0x1bd/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925908>] _spin_lock_irqsave+0x58/0x70
                          [<c019920d>] ring_buffer_reset_cpu+0x2d/0x60
                          [<c019b00a>] tracing_reset+0x1a/0x30
                          [<c019b0dd>] register_tracer+0xbd/0x1b0
                          [<c0cec253>] tracer_alloc_buffers+0xd3/0x140
                          [<c010111f>] do_one_initcall+0x2f/0x170
                          [<c0cd294a>] kernel_init+0x5a/0x170
                          [<c011cd0b>] kernel_thread_helper+0x7/0x10
                          [<ffffffff>] 0xffffffff
    in-softirq-W at:
                          [<c0173b46>] __lock_acquire+0x766/0x1380
                          [<c01747e9>] lock_acquire+0x89/0xc0
                          [<c0925908>] _spin_lock_irqsave+0x58/0x70
                          [<c019920d>] ring_buffer_reset_cpu+0x2d/0x60
                          [<c019b00a>] tracing_reset+0x1a/0x30
                          [<c019e7e9>] __wakeup_reset+0x19/0x80
                          [<c019ecf5>] probe_wakeup+0xb5/0x150
                          [<c0147e50>] try_to_wake_up+0x2b0/0x2c0
                          [<c0147eb4>] wake_up_process+0x14/0x20
                          [<c0158fbd>] process_timeout+0xd/0x10
                          [<c0158dd1>] run_timer_softirq+0x181/0x1c0
                          [<c01547b9>] __do_softirq+0xa9/0x180
                          [<ffffffff>] 0xffffffff
  }
  ... key      at: [<c1319940>] __key.21839+0x0/0x20
 ... acquired at:
   [<c017437a>] __lock_acquire+0xf9a/0x1380
   [<c01747e9>] lock_acquire+0x89/0xc0
   [<c0925908>] _spin_lock_irqsave+0x58/0x70
   [<c019920d>] ring_buffer_reset_cpu+0x2d/0x60
   [<c019b00a>] tracing_reset+0x1a/0x30
   [<c019e7e9>] __wakeup_reset+0x19/0x80
   [<c019ecf5>] probe_wakeup+0xb5/0x150
   [<c0147e50>] try_to_wake_up+0x2b0/0x2c0
   [<c0147eb4>] wake_up_process+0x14/0x20
   [<c019baeb>] trace_selftest_startup_wakeup+0xab/0x160
   [<c019b117>] register_tracer+0xf7/0x1b0
   [<c0cec2fd>] init_wakeup_tracer+0xd/0x10
   [<c010111f>] do_one_initcall+0x2f/0x170
   [<c0cd2a02>] kernel_init+0x112/0x170
   [<c011cd0b>] kernel_thread_helper+0x7/0x10
   [<ffffffff>] 0xffffffff


the hard-irq-unsafe lock's dependencies:
-> (&p->alloc_lock){--..} ops: 21231 {
   initial-use  at:
                        [<c017359d>] __lock_acquire+0x1bd/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c09257e8>] _spin_lock+0x38/0x50
                        [<c01c7707>] set_task_comm+0x27/0x60
                        [<c0163f01>] kthreadd+0x21/0x160
                        [<c011cd0b>] kernel_thread_helper+0x7/0x10
                        [<ffffffff>] 0xffffffff
   softirq-on-W at:
                        [<c0173c77>] __lock_acquire+0x897/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c09257e8>] _spin_lock+0x38/0x50
                        [<c01c7707>] set_task_comm+0x27/0x60
                        [<c0163f01>] kthreadd+0x21/0x160
                        [<c011cd0b>] kernel_thread_helper+0x7/0x10
                        [<ffffffff>] 0xffffffff
   hardirq-on-W at:
                        [<c0173c51>] __lock_acquire+0x871/0x1380
                        [<c01747e9>] lock_acquire+0x89/0xc0
                        [<c09257e8>] _spin_lock+0x38/0x50
                        [<c01c7707>] set_task_comm+0x27/0x60
                        [<c0163f01>] kthreadd+0x21/0x160
                        [<c011cd0b>] kernel_thread_helper+0x7/0x10
                        [<ffffffff>] 0xffffffff
 }
 ... key      at: [<c0d80ea0>] __key.38217+0x0/0x8

stack backtrace:
Pid: 3134, comm: S99local Not tainted 2.6.28-rc6-tip-00766-g9f03358-dirty #1566
Call Trace:
 [<c0172a18>] check_usage+0x2e8/0x340
 [<c0174090>] __lock_acquire+0xcb0/0x1380
 [<c01747e9>] lock_acquire+0x89/0xc0
 [<c01883e7>] ? cpuset_cpus_allowed_locked+0x27/0x50
 [<c09257e8>] _spin_lock+0x38/0x50
 [<c01883e7>] ? cpuset_cpus_allowed_locked+0x27/0x50
 [<c01883e7>] cpuset_cpus_allowed_locked+0x27/0x50
 [<c0148de2>] move_task_off_dead_cpu+0xc2/0x140
 [<c0921c27>] migration_call+0x227/0x4a0
 [<c017507b>] ? trace_hardirqs_on+0xb/0x10
 [<c0926e85>] ? _etext+0x0/0xb
 [<c0168c8b>] notifier_call_chain+0x4b/0x70
 [<c0168d6e>] __raw_notifier_call_chain+0x1e/0x30
 [<c0168d9f>] raw_notifier_call_chain+0x1f/0x30
 [<c08e7a59>] _cpu_down+0x129/0x260
 [<c0161eb2>] ? synchronize_rcu+0x32/0x40
 [<c0161d80>] ? wakeme_after_rcu+0x0/0x20
 [<c08e7be6>] cpu_down+0x56/0x70
 [<c08e940c>] store_online+0x3c/0x80
 [<c08e93d0>] ? store_online+0x0/0x80
 [<c051b64a>] sysdev_store+0x2a/0x40
 [<c020267e>] sysfs_write_file+0xbe/0x110
 [<c01c3bbb>] vfs_write+0x9b/0x130
 [<c02025c0>] ? sysfs_write_file+0x0/0x110
 [<c01c3d12>] sys_write+0x42/0x70
 [<c011c46f>] sysenter_do_call+0x12/0x43
CPU0 attaching NULL sched-domain.
CPU1 attaching NULL sched-domain.
CPU0 attaching NULL sched-domain.
lockdep: fixing up alternatives.
SMP alternatives: switching to SMP code
CPU 1 irqstacks, hard=c0d64000 soft=c0d5c000


View attachment "config" of type "text/plain" (65553 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ