bibo mao
a4045dff78
[PATCH] x86_64: Enlarge debug stack for nested kprobes
...
In x86_64 platform, INT1 and INT3 trap stack is IST stack called DEBUG_STACK,
when INT1/INT3 trap happens, system will switch to DEBUG_STACK by hardware.
Current DEBUG_STACK size is 4K, when int1/int3 trap happens, kernel will
minus current DEBUG_STACK IST value by 4k. But if int3/int1 trap is nested,
it will destroy other vector's IST stack. This patch modifies this, it sets
DEBUG_STACK size as 8K and allows two level of nested int1/int3 trap.
Kprobe DEBUG_STACK may be nested, because kprobe handler may be probed
by other kprobes.
Thanks jbeulich for pointing out error in the first patch.
[AK: nested kprobes are pretty dubious. Hopefully one nest
will be enough. This will cost 8K per CPU (4K more than before)]
Signed-off-by: bibo, mao <bibo.mao@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-28 19:28:00 -07:00
..
2005-04-16 15:20:36 -07:00
2005-06-21 18:46:12 -07:00
2006-02-27 20:41:56 -08:00
2005-06-07 12:35:43 -07:00
2006-07-01 09:56:02 -07:00
2006-06-26 10:48:21 -07:00
2006-04-01 22:50:03 -05:00
2006-06-26 10:48:14 -07:00
2005-09-07 16:57:21 -07:00
2006-06-26 10:48:14 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:58:51 -07:00
2005-09-12 10:50:58 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-01-06 08:33:36 -08:00
2006-07-10 15:12:33 -07:00
2006-04-26 12:56:16 +01:00
2005-08-29 16:02:48 -07:00
2006-01-12 09:08:51 -08:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:22 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 21:28:48 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:04:53 -08:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:18 -07:00
2006-06-26 10:48:16 -07:00
2006-03-25 09:10:55 -08:00
2006-04-26 12:56:16 +01:00
2006-05-08 09:34:56 -07:00
2006-01-18 19:20:31 -08:00
2006-05-30 20:31:05 -07:00
2005-07-26 14:35:42 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:38 -07:00
2006-04-26 12:56:16 +01:00
2006-07-02 13:58:49 -07:00
2005-04-16 15:20:36 -07:00
2006-03-27 08:44:49 -08:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-06-26 10:48:19 -07:00
2006-06-29 10:26:23 -07:00
2006-04-20 07:58:11 -07:00
2006-06-26 10:48:15 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:04:55 -08:00
2006-06-26 10:48:22 -07:00
2006-05-24 09:22:21 +01:00
2006-04-26 12:56:16 +01:00
2006-01-10 08:01:34 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:05:00 -08:00
2006-01-16 11:27:59 -08:00
2006-07-03 15:27:03 -07:00
2006-06-26 10:48:15 -07:00
2006-06-18 12:19:11 +01:00
2006-07-03 15:27:02 -07:00
2006-02-03 08:32:09 -08:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:58:22 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:21 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:20 -07:00
2006-02-15 15:32:22 -08:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-23 07:42:52 -07:00
2005-04-16 15:20:36 -07:00
2006-01-07 03:50:18 -05:00
2005-04-16 15:20:36 -07:00
2006-06-21 12:00:00 -07:00
2005-11-20 11:52:59 -08:00
2006-05-21 22:51:13 +01:00
2006-06-26 10:48:14 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:16 -07:00
2005-04-16 15:20:36 -07:00
2006-06-23 07:42:48 -07:00
2006-07-28 19:28:00 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:19 -07:00
2006-03-25 09:10:56 -08:00
2006-07-03 15:27:00 -07:00
2006-03-25 09:10:53 -08:00
2006-06-26 10:48:18 -07:00
2006-03-25 08:22:56 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:19 -07:00
2006-06-26 10:48:18 -07:00
2005-06-23 09:45:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:05:01 -08:00
2006-06-26 10:48:14 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:08 -07:00
2006-07-02 13:58:49 -07:00
2006-06-26 10:48:19 -07:00
2006-06-29 16:58:06 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:07 -07:00
2005-09-10 10:06:21 -07:00
2006-06-26 10:48:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:14 -07:00
2006-03-25 09:10:52 -08:00
2006-04-26 12:56:16 +01:00
2006-07-14 21:56:14 -07:00
2006-07-10 15:12:33 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:48:22 -07:00
2006-04-11 06:38:57 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-06-27 17:32:45 -07:00
2005-09-05 00:05:48 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-23 07:42:53 -07:00
2006-06-26 10:48:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-22 15:05:58 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 19:05:02 -08:00
2005-04-16 15:20:36 -07:00