lkml.org 
[lkml]   [2016]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH/RFC] mm/debug_pagealloc: enable it by default
On Mon, Jan 25, 2016 at 02:22:10PM -0500, Dave Jones wrote:

> > A default mode would be ok for me as it makes things obvious. Will send
> > a patch.
>
> The messaging around changing a default like this was really poor.
> When we do behaviour changes like this, we typically rename the CONFIG option
> to make it obvious that things aren't as they used to be.

Looking at this closer, shouldn't the original diff to make this runtime
have also changed the x86 implementation details in arch/x86/mm/pageattr.c ?
Even when we don't boot with the enable flag, we're doing the "split 2M page into 4Ks"
thing. It looks like a s/debug_pagealloc/debug_pagealloc_enabled()/ might
do the right thing maybe ?

It's almost comedic that I walked into change c9e0d39126af thinking all this
stuff was working _because_ we were doing that page splitting.

Dave

\
 
 \ /
  Last update: 2016-01-25 21:01    [W:0.078 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site