]> git.baikalelectronics.ru Git - kernel.git/commit
aio is unlikely
authorAndrew Morton <akpm@osdl.org>
Wed, 9 May 2007 09:34:58 +0000 (02:34 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:54 +0000 (12:30 -0700)
commitac42fdd122f3921bf4da0e5ce9e9fd5cf0fb21b3
tree748ff93b4d5a49e6e21392c30ecad143694dcd94
parentebaa8e494cf32b38d64e80a690078a1b3fba8771
aio is unlikely

Stick an unlikely() around is_aio(): I assert that most IO is synchronous.

Cc: Suparna Bhattacharya <suparna@in.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Zach Brown <zach.brown@oracle.com>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/aio.h