mm, highmem: remove useless pool_lock
authorJoonsoo Kim <js1304@gmail.com>
Wed, 12 Dec 2012 00:01:20 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:24 +0000 (17:22 -0800)
commitcc33a303f1c155cf0147964586bb80fa732d8a21
tree823c1707b3d527c6bf0190a81aa6ed732c3bfc5c
parent4de22c0584fb0566487b2cba5cdfbce346b18402
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/highmem.c