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>
Showing
- arch/i386/kernel/process.c 39 additions, 34 deletionsarch/i386/kernel/process.c
- include/asm-i386/processor.h 4 additions, 0 deletionsinclude/asm-i386/processor.h
- include/asm-i386/thread_info.h 4 additions, 1 deletioninclude/asm-i386/thread_info.h
- include/linux/seccomp.h 0 additions, 10 deletionsinclude/linux/seccomp.h
- kernel/seccomp.c 3 additions, 0 deletionskernel/seccomp.c
Loading
Please register or sign in to comment