lkml.org 
[lkml]   [2012]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mm: Warn about costly page allocation
On Thu, 12 Jul 2012, Minchan Kim wrote:

> Agreed and that's why I suggested following patch.
> It's not elegant but at least, it could attract interest of configuration
> people and they could find a regression during test phase.
> This description could be improved later by writing new documenation which
> includes more detailed story and method for capturing high order allocation
> by ftrace once we see regression report.
>
> At the moment, I would like to post this patch, simply.
> (Of course, I hope fluent native people will correct a sentence. :) )
>
> Any objections, Andrew, David?
>

There are other config options like CONFIG_SLOB that are used for a very
small memory footprint on systems like this. We used to have
CONFIG_EMBEDDED to suggest options like this but that has since been
renamed as CONFIG_EXPERT and has become obscured.

If size is really the only difference, I would think that people who want
the smallest kernel possible would be doing allnoconfig and then
selectively enabling what they need, so defconfig isn't really relevant
here. And it's very difficult for an admin to know whether or not they
"care about high-order allocations."

I'd reconsider disabling compaction by default unless there are other
considerations that haven't been mentioned.


\
 
 \ /
  Last update: 2012-07-12 05:01    [W:0.598 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site