]> Git Repo - linux.git/commit
mm: meminit: only set page reserved in the memblock region
authorNathan Zimmer <[email protected]>
Tue, 30 Jun 2015 21:56:48 +0000 (14:56 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 Jul 2015 02:44:55 +0000 (19:44 -0700)
commit92923ca3aacef63c92dc297a75ad0c6dfe4eab37
tree586db6346196f978ec9e55da7e9d525235436ab2
parent1e8ce83cd17fd0f549a7ad145ddd2bfcdd7dfe37
mm: meminit: only set page reserved in the memblock region

Currently each page struct is set as reserved upon initialization.  This
patch leaves the reserved bit clear and only sets the reserved bit when it
is known the memory was allocated by the bootmem allocator.  This makes it
easier to distinguish between uninitialised struct pages and reserved
struct pages in later patches.

Signed-off-by: Robin Holt <[email protected]>
Signed-off-by: Nathan Zimmer <[email protected]>
Signed-off-by: Mel Gorman <[email protected]>
Tested-by: Nate Zimmer <[email protected]>
Tested-by: Waiman Long <[email protected]>
Tested-by: Daniel J Blueman <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Robin Holt <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Scott Norton <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
mm/nobootmem.c
mm/page_alloc.c
This page took 0.055963 seconds and 4 git commands to generate.