]> 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)
commit69f90224ae60c899647c340f12a608bd67d4c6fa
treeccea30f743723fb1747a8d833a51996045d9d666
parent50d813a04e743d2edd19a64f6b2924ecae7d0404
mm/compaction.c: update comment about zone lock in isolate_freepages_block

Since commit 9e2d9da323ac ("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