mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mm: print out the zonelists on request for manual verification
This patch prints out the zonelists during boot for manual verification by the user if the mminit_loglevel is MMINIT_VERIFY or higher. Signed-off-by: Mel Gorman <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2dbb51c49f
commit
68ad8df42e
3 changed files with 51 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ do { \
|
|||
extern void mminit_verify_pageflags_layout(void);
|
||||
extern void mminit_verify_page_links(struct page *page,
|
||||
enum zone_type zone, unsigned long nid, unsigned long pfn);
|
||||
extern void mminit_verify_zonelist(void);
|
||||
|
||||
#else
|
||||
|
||||
|
|
@ -97,6 +98,10 @@ static inline void mminit_verify_page_links(struct page *page,
|
|||
enum zone_type zone, unsigned long nid, unsigned long pfn)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void mminit_verify_zonelist(void)
|
||||
{
|
||||
}
|
||||
#endif /* CONFIG_DEBUG_MEMORY_INIT */
|
||||
|
||||
/* mminit_validate_memmodel_limits is independent of CONFIG_DEBUG_MEMORY_INIT */
|
||||
|
|
|
|||
Loading…
Reference in a new issue