]> Git Repo - linux.git/commit - mm/page_alloc.c
mm: show message when updating min_free_kbytes in thp
authorHan Pingtian <[email protected]>
Thu, 23 Jan 2014 23:53:28 +0000 (15:53 -0800)
committerLinus Torvalds <[email protected]>
Fri, 24 Jan 2014 00:36:52 +0000 (16:36 -0800)
commit42aa83cb6757800f4e2b499f5db3127761517a6a
treee946c566be52d21de5e9254674acc341c39fa475
parentac13c4622bda2a9ff8f57bbbfeff48b2a42d0963
mm: show message when updating min_free_kbytes in thp

min_free_kbytes may be raised during THP's initialization.  Sometimes,
this will change the value which was set by the user.  Showing this
message will clarify this confusion.

Only show this message when changing a value which was set by the user
according to Michal Hocko's suggestion.

Show the old value of min_free_kbytes according to Dave Hansen's
suggestion.  This will give user the chance to restore old value of
min_free_kbytes.

Signed-off-by: Han Pingtian <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/huge_memory.c
mm/internal.h
mm/page_alloc.c
This page took 0.051189 seconds and 4 git commands to generate.