]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, highmem: remove useless pool_lock
authorJoonsoo Kim <js1304@gmail.com>
Sat, 3 Nov 2012 00:42:21 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Nov 2012 04:15:11 +0000 (15:15 +1100)
commit50a43c40bf33f9d29990f5dbc92ab0810108e755
tree1c9bd04d7c0642dd69b7aa0f719f68da92b2b32a
parent6b9604738074f879fa20e5b54f0d61333790c751
mm, highmem: remove useless pool_lock

The pool_lock protects the page_address_pool from concurrent access.  But,
access to the page_address_pool is already protected by kmap_lock.  So
remove it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kin <minchan@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/highmem.c