diff options
author | 2011-12-08 14:33:54 -0800 | |
---|---|---|
committer | 2011-12-09 07:50:27 -0800 | |
commit | 83aeeada7c69f35e5100b27ec354335597a7a488 (patch) | |
tree | 44644e68f303368feba7c8ba3e0e0991d6238ada /lib/mpi/mpiutil.c | |
parent | vmscan: fix initial shrinker size handling (diff) | |
download | wireguard-linux-83aeeada7c69f35e5100b27ec354335597a7a488.tar.xz wireguard-linux-83aeeada7c69f35e5100b27ec354335597a7a488.zip |
vmscan: use atomic-long for shrinker batching
Use atomic-long operations instead of looping around cmpxchg().
[akpm@linux-foundation.org: massage atomic.h inclusions]
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions