summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorHugh Dickins2005-10-30 02:16:41 +0100
committerLinus Torvalds2005-10-30 05:40:42 +0100
commitf412ac08c9861b4791af0145934c22f1458686da (patch)
tree5e515efa116f3968c2caa75bc691a197199313a8 /mm/filemap.c
parent[PATCH] mm: split page table lock (diff)
downloadkernel-qcow2-linux-f412ac08c9861b4791af0145934c22f1458686da.tar.gz
kernel-qcow2-linux-f412ac08c9861b4791af0145934c22f1458686da.tar.xz
kernel-qcow2-linux-f412ac08c9861b4791af0145934c22f1458686da.zip
[PATCH] mm: fix rss and mmlist locking
A couple of oddities were guarded by page_table_lock, no longer properly guarded when that is split. The mm_counters of file_rss and anon_rss: make those an atomic_t, or an atomic64_t if the architecture supports it, in such a case. Definitions by courtesy of Christoph Lameter: who spent considerable effort on more scalable ways of counting, but found insufficient benefit in practice. And adding an mm with swap to the mmlist for swapoff: the list is well- guarded by its own lock, but the list_empty check now has to be repeated inside it. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions