]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcbe128341bbd91063c330acf29906f5ae725bee
treeee75b30bb6fa6dcf8d4499a760095c221c59b00e
parenta4823bb2efbb9e2363f040bdc419fa68412cf130
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