Tony Luck 0967237ca6 [IA64] Must enable interrupts in do_notify_resume_user before calling tracehook_notify_resume()
If we call with interrupts disabled, we'll be hit with:

WARNING: at kernel/softirq.c:160 local_bh_enable_ip+0x150/0x180() and a stack
trace like this:

Call Trace:
 [<a000000100015480>] show_stack+0x80/0xa0
 [<a000000100d9a520>] dump_stack+0x30/0x50
 [<a000000100072fc0>] warn_slowpath_common+0xc0/0x100
 [<a000000100073040>] warn_slowpath_null+0x40/0x60
 [<a0000001000884d0>] local_bh_enable_ip+0x150/0x180
 [<a000000100da2960>] _raw_write_unlock_bh+0x40/0x60
 [<a000000100cf03c0>] unix_release_sock+0x120/0x5a0
 [<a000000100cf0880>] unix_release+0x40/0x60
 [<a000000100b84400>] sock_release+0x60/0x1a0
 [<a000000100b84b70>] sock_close+0x30/0xa0
 [<a0000001001d10f0>] __fput+0x190/0x500
 [<a0000001001d1580>] ____fput+0x20/0x40
 [<a0000001000b6570>] task_work_run+0x1b0/0x260
 [<a000000100015190>] do_notify_resume_user+0x110/0x2a0
 [<a00000010000c5a0>] notify_resume_user+0x40/0x60
 [<a00000010000c4d0>] skip_rbs_switch+0xe0/0xf0
 [<a000000000040720>] ia64_ivt+0xffffffff00040720/0x400

Fix-suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2012-09-20 11:47:13 -07:00
..
2010-02-08 10:42:17 -08:00
2012-03-28 18:30:02 +01:00
2012-01-09 12:55:10 -08:00
2010-03-03 11:25:59 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-03-29 14:48:05 +02:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2008-02-04 15:42:06 -08:00
2012-03-28 18:30:02 +01:00
2008-02-04 15:42:06 -08:00
2008-04-08 13:51:35 -07:00
2012-03-28 18:30:02 +01:00
2012-06-25 13:48:30 +02:00
2011-03-31 11:26:23 -03:00
2006-12-07 10:48:19 -08:00
2012-03-28 18:30:02 +01:00
2007-05-08 14:51:59 -07:00
2012-06-01 12:58:52 -04:00
2012-03-28 18:30:02 +01:00
2010-05-18 14:45:54 -07:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00