]> git.baikalelectronics.ru Git - kernel.git/commit
mm/compaction.c: update comment about zone lock in isolate_freepages_block
authorJerome Marchand <jmarchan@redhat.com>
Tue, 12 Nov 2013 23:07:12 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:03 +0000 (12:09 +0900)
commit171231301909367cf074b538d9dd6a0cb4324e1a
treeccea30f743723fb1747a8d833a51996045d9d666
parentd602a3ae9a8cc9f9e91dbf4368853d1471ff520c
mm/compaction.c: update comment about zone lock in isolate_freepages_block

Since commit c8519b260ca8 ("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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/compaction.c