aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorKen Chen <[email protected]>2005-05-01 08:59:15 -0700
committerLinus Torvalds <[email protected]>2005-05-01 08:59:15 -0700
commit4bf69b2a06090c01c27f25ea5cd1440f7bf9256f (patch)
tree35bed1e865ee9f8b086954d866cee9c1c2b92b0f /scripts/basic
parent212079cf4ee99e492a57b817e796825d423a30bb (diff)
[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 <[email protected]> Cc: Benjamin LaHaise <[email protected]> Cc: Suparna Bhattacharya <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions