diff options
author | Nick Piggin <npiggin@suse.de> | 2007-10-16 23:26:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:42:46 -0700 |
commit | 7a4050791b23c55a451974027d41d72a9b78039b (patch) | |
tree | f3956a04f24a2406276804124853535a59c0cbc1 /mm/rmap.c | |
parent | d773ed6b856a96bd6d18b6e04455e3ced0876da4 (diff) | |
download | op-kernel-dev-7a4050791b23c55a451974027d41d72a9b78039b.zip op-kernel-dev-7a4050791b23c55a451974027d41d72a9b78039b.tar.gz |
mm: document tree_lock->zone.lock lockorder
zone->lock is quite an "inner" lock and mostly constrained to page alloc as
well, so like slab locks, it probably isn't something that is critically
important to document here. However unlike slab locks, zone lock could be
used more widely in future, and page_alloc.c might possibly have more
business to do tricky things with pagecache than does slab. So... I don't
think it hurts to document it.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ * mapping->tree_lock (widely used, in set_page_dirty, * in arch-dependent flush_dcache_mmap_lock, * within inode_lock in __sync_single_inode) + * zone->lock (within radix tree node alloc) */ #include <linux/mm.h> |