Stephane Eranian
b3cf257623
[PATCH] i386: use thread_info flags for debug regs and IO bitmaps
...
Use thread info flags to track use of debug registers and IO bitmaps.
- add TIF_DEBUG to track when debug registers are active
- add TIF_IO_BITMAP to track when I/O bitmap is used
- modify __switch_to() to use the new TIF flags
Performance tested on Pentium II, ten runs of LMbench context switch
benchmark (smaller is better:)
before after
avg 3.65 3.39
min 3.55 3.33
Signed-off-by: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-09 18:47:12 -07:00
..
2006-06-26 10:51:09 -07:00
2006-06-26 09:58:21 -07:00
2006-06-29 10:26:19 -07:00
2006-06-25 10:00:55 -07:00
2006-07-01 09:56:02 -07:00
2006-06-26 10:48:16 -07:00
2006-07-08 15:24:18 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-27 17:32:36 -07:00
2006-06-26 10:48:22 -07:00
2006-06-26 09:58:21 -07:00
2006-04-26 12:56:16 +01:00
2006-06-26 10:48:17 -07:00
2006-06-27 17:32:38 -07:00
2006-06-27 17:32:38 -07:00
2006-07-02 13:58:47 -07:00
2006-07-08 15:24:18 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-29 10:26:23 -07:00
2006-04-29 14:13:16 -07:00
2006-04-26 12:56:16 +01: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-04-26 12:56:16 +01:00
2006-07-03 15:27:03 -07:00
2006-06-26 10:48:15 -07:00
2006-06-18 12:19:46 +01:00
2006-06-26 09:58:22 -07:00
2006-04-26 12:56:16 +01:00
2006-06-26 09:58:22 -07:00
2006-07-08 15:24:18 -07:00
2006-06-23 07:42:56 -07:00
2006-04-26 12:56:16 +01:00
2006-06-27 17:32:38 -07:00
2006-06-21 12:00:00 -07:00
2006-06-23 07:42:56 -07:00
2006-06-26 10:48:16 -07:00
2006-06-27 17:32:38 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-27 12:00:59 -07:00
2006-04-27 12:00:59 -07:00
2006-04-29 01:42:26 +01:00
2006-07-08 15:24:18 -07:00
2006-06-27 17:32:37 -07:00
2006-07-08 15:24:18 -07:00
2006-07-08 15:24:18 -07:00
2006-07-08 15:24:18 -07:00
2006-04-26 12:56:16 +01:00
2006-06-25 10:00:55 -07:00
2006-07-02 13:58:47 -07:00
2006-04-26 12:56:16 +01:00
2006-06-29 16:58:06 -07:00
2006-07-08 15:24:18 -07:00
2006-04-26 12:56:16 +01:00
2006-07-03 15:27:03 -07:00
2006-07-09 18:47:12 -07:00
2006-06-26 09:58:21 -07:00
2006-06-26 09:58:21 -07:00
2006-04-26 12:56:16 +01:00
2006-06-27 17:32:45 -07:00
2006-06-26 09:58:21 -07:00
2006-04-26 12:56:16 +01:00
2006-06-25 10:01:09 -07:00
2006-06-23 07:42:53 -07:00
2006-06-27 17:32:38 -07:00
2006-06-22 15:05:58 -07:00