From: Stephane Eranian Date: Mon, 10 Jul 2006 01:12:39 +0000 (-0400) Subject: [PATCH] i386: use thread_info flags for debug regs and IO bitmaps X-Git-Tag: v2.6.18-rc2~253 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3cf257623fabd8f1ee6700a6d328cc1c5da5a1d;p=pandora-kernel.git [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 Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed