]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/compaction.c: update comment about zone lock in isolate_freepages_block
authorJerome Marchand <jmarchan@redhat.com>
Tue, 5 Nov 2013 05:55:24 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:24 +0000 (16:55 +1100)
commit855a9e16fbbcdd5e3c1f7b211c17defbc5890c56
tree048a6f1887aee5a4a801baa644023018e3dbe03f
parenta27ee35ab0777477193806ef52ada5d8b4d37512
mm/compaction.c: update comment about zone lock in isolate_freepages_block

Since commit f40d1e4 ("mm: compaction: acquire the zone->lock as late as
possible"), isolate_freepages_block() takes the zone->lock itself.  The
function description however still states that the zone->lock must be
held.

This patch removes this outdated statement.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c