aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorCarsten Emde <c.emde@osadl.org>2009-07-21 12:58:20 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-07-24 12:30:12 -0400
commite580f50631b1d82949f8a1c72f0e953cef2df07c (patch)
treeb5da5bd5446f1043e29dcea469eebe0427487127 /include/linux/workqueue.h
parent4734c21672244d21bb667e6179c1acee54f8640d (diff)
mm: memcontrol preemption fix
Cures the following On RT: BUG: using smp_processor_id() in preemptible [00000000] code: init/1 caller is mem_cgroup_update_mapped_file_stat+0x3c/0x68 Pid: 1, comm: init Not tainted 2.6.31-rc3-rt1 #1 Call Trace: [<c0759ec5>] ? printk+0x14/0x17 [<c059c932>] debug_smp_processor_id+0xa6/0xbc [<c04c137a>] mem_cgroup_update_mapped_file_stat+0x3c/0x68 [<c04b43cd>] page_add_file_rmap+0x2e/0x31 [<c04ae3aa>] __do_fault+0x2be/0x3c3 [<c04ae83b>] handle_mm_fault+0x38c/0x874 [<c0488643>] ? ftrace_now+0x36/0x42 [<c075e4a6>] do_page_fault+0x2b2/0x2c8 [<c075e1f4>] ? do_page_fault+0x0/0x2c8 [<c075c923>] error_code+0x6b/0x70 [<c075e1f4>] ? do_page_fault+0x0/0x2c8 RT needs to disable preemption explicitely here. Signed-off-by: Carsten Emde <carsten.emde@osadl.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions