diff options
author | 2012-03-21 16:34:13 -0700 | |
---|---|---|
committer | 2012-03-21 17:54:59 -0700 | |
commit | 05af2e104a0c282dcd9303431e1360750ba76de6 (patch) | |
tree | cdd5876f2d17b26cc3ded7ef85d04d0e853e9b7e /mm/page_alloc.c | |
parent | hugepages: fix use after free bug in "quota" handling (diff) | |
download | linux-dev-05af2e104a0c282dcd9303431e1360750ba76de6.tar.xz linux-dev-05af2e104a0c282dcd9303431e1360750ba76de6.zip |
mm, counters: remove task argument to sync_mm_rss() and __sync_task_rss_stat()
sync_mm_rss() can only be used for current to avoid race conditions in
iterating and clearing its per-task counters. Remove the task argument
for it and its helper function, __sync_task_rss_stat(), to avoid thinking
it can be used safely for anything other than current.
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions