]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cpuset use combined atomic_inc_return calls
authorPaul Jackson <pj@sgi.com>
Fri, 24 Mar 2006 11:16:01 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:22 +0000 (07:33 -0800)
commit9262078d26472d1f642ef93467b8333c0c6c4ef5
treec8a364e6fc5186293bca85152c442a4a23df4822
parent868ea4612cbc90aa9c4557b2d124d43333a3f132
[PATCH] cpuset use combined atomic_inc_return calls

Replace pairs of calls to <atomic_inc, atomic_read>, with a single call
atomic_inc_return, saving a few bytes of source and kernel text.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c