aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2011-03-23 16:42:18 -0700
committerLinus Torvalds <[email protected]>2011-03-23 19:46:22 -0700
commit6c191cd01a935e5b53ef43c9403c771bb7a32b60 (patch)
tree70c49b4cb52406ea1d8c60f73ad7733f60f9cee9 /include/linux
parent61f2e7b0f474225b4226772830ae4b29a3a21f8d (diff)
memcg: res_counter_read_u64(): fix potential races on 32-bit machines
res_counter_read_u64 reads u64 value without lock. It's dangerous in a 32bit environment. Add locking. Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: David Rientjes <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions