From: Ken Chen Date: Sun, 1 May 2005 15:59:15 +0000 (-0700) Subject: [PATCH] aio: ring wrapping simplification X-Git-Tag: v2.6.12-rc4~136^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bf69b2a06090c01c27f25ea5cd1440f7bf9256f;p=pandora-kernel.git [PATCH] aio: ring wrapping simplification Since the tail pointer in aio_ring structure never wrap ring size more than once, so a simple compare is sufficient to wrap the index around. This avoid a more expensive mod operation. Signed-off-by: Ken Chen Cc: Benjamin LaHaise Cc: Suparna Bhattacharya Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed