Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Wednesday, July 23, 2008 - 5:22 pm

On Mon, 21 Jul 2008, Roland McGrath wrote:

Ok, so I decided to try this, because my new toy (Nehalem) showed some 
absolutely horrid performance with the Fedora kernel that went away when I 
compiled my own sane kernel.

And I suspect it's due to the audit path and auditd being enabled (for no 
good reason that I can tell, except to slow everything down, since nobody 
sane cares) by default.

HOWEVER. When I pull from your tree, I can no longer compile with the only 
sane default (namely "CONFIG_AUDIT is stupid, nobody should use it"), 
because I get

	arch/x86/kernel/built-in.o: In function `auditsys':
	signal_64.c:(.text+0x1f40): undefined reference to `audit_syscall_entry'
	arch/x86/kernel/built-in.o: In function `sysret_audit':
	signal_64.c:(.text+0x1f85): undefined reference to `audit_syscall_exit'
	arch/x86/ia32/built-in.o: In function `sysenter_auditsys':
	(.text+0xdd): undefined reference to `audit_syscall_entry'
	arch/x86/ia32/built-in.o: In function `sysexit_audit':
	(.text+0x128): undefined reference to `audit_syscall_exit'
	arch/x86/ia32/built-in.o: In function `cstar_auditsys':
	(.text+0x303): undefined reference to `audit_syscall_entry'
	arch/x86/ia32/built-in.o: In function `sysretl_audit':
	(.text+0x350): undefined reference to `audit_syscall_exit'
	make: *** [.tmp_vmlinux1] Error 1

so while I would like to merge this, I really can't.

I'll test the performance anyway (with CONFIG_AUDIT enabled, of course).

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/4] x86_64 syscall audit fast-path, Roland McGrath, (Sun Jul 6, 11:57 pm)
[PATCH 3/4] x86_64 ia32 syscall audit fast-path, Roland McGrath, (Sun Jul 6, 11:57 pm)
[PATCH 4/4] i386 syscall audit fast-path, Roland McGrath, (Sun Jul 6, 11:58 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Linus Torvalds, (Mon Jul 7, 9:34 am)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Linus Torvalds, (Mon Jul 7, 9:39 am)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Roland McGrath, (Mon Jul 7, 5:02 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Linus Torvalds, (Mon Jul 7, 5:37 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Ingo Molnar, (Fri Jul 18, 4:36 am)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Roland McGrath, (Mon Jul 21, 4:54 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Linus Torvalds, (Wed Jul 23, 5:22 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Linus Torvalds, (Wed Jul 23, 5:40 pm)
Re: [PATCH 3/4] x86_64 ia32 syscall audit fast-path, Roland McGrath, (Wed Jul 23, 6:04 pm)