mm: correct the comment about the value for buddy _mapcount
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 11 Sep 2013 21:22:48 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:06 +0000 (15:58 -0700)
commitcf6fe945389e674130dc7564392930cf7fb9f5e8
treeee75b30bb6fa6dcf8d4499a760095c221c59b00e
parentfa0f281cf9de8e6877e6536f18a3fc77368df64d
mm: correct the comment about the value for buddy _mapcount

Set _mapcount PAGE_BUDDY_MAPCOUNT_VALUE to make the page buddy.  Not the
magic number -2.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.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/page_alloc.c
This page took 0.023803 seconds and 5 git commands to generate.