Re: [patch] speed up / fix the new generic semaphore code (fix AIM7 40% regression with 2.6.26-rc1)

From: Andi Kleen
Date: Fri May 09 2008 - 04:30:40 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:
>
> Well, it turns out that Ingo's fixed statistics actually put the real cost
> in fcntl/ioctl/open/release:
>
> 310 down <= lock_kernel <= sys_fcntl <= system_call_after_swapgs <

That must be ->fasync? If it was file locks the lock_kernel would not
be inlined into sys_fcntl. Or is that an truncated back trace?

-Andi (wondering if he should plug ->fasync_unlocked again ...)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/