make seccomp zerocost in schedule
authorAndrea Arcangeli <andrea@cpushare.com>
Mon, 16 Jul 2007 06:41:33 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:50 +0000 (09:05 -0700)
commitcf99abace7e07dd8491e7093a9a9ef11d48838ed
tree3b7cfd7c76c2c43e6ae3fdaaff3a50a752072424
parent1d9d02feeee89e9132034d504c9a45eeaf618a3d
make seccomp zerocost in schedule

This follows a suggestion from Chuck Ebbert on how to make seccomp
absolutely zerocost in schedule too.  The only remaining footprint of
seccomp is in terms of the bzImage size that becomes a few bytes (perhaps
even a few kbytes) larger, measure it if you care in the embedded.

Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/process.c
include/asm-i386/processor.h
include/asm-i386/thread_info.h
include/linux/seccomp.h
kernel/seccomp.c