Re: [PATCH] mm/thp: Use conventional format for boolean attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Apr 13, 2011 at 12:28:42PM -0700, David Rientjes wrote:
> On Wed, 13 Apr 2011, Andrew Morton wrote:
> 
> > It's a bit naughty to change the existing interface in 2.6.38.x but the time
> > window is small and few people will be affected and they were nuts to be
> > using 2.6.38.0 anyway ;)
> > 
> > I suppose we could support both the old and new formats for a while,
> > then retire the old format but I doubt if it's worth it.
> > 
> > Isn't there some user documentation which needs to be updated to
> > reflect this change?  If not, why not?  :)
> > 
> 
> Indeed there is, in Documentation/vm/transhuge.txt -- only for 
> /sys/kernel/mm/transparent_hugepage/khugepaged/defrag, though, we lack 
> documentation of debug_cow.

Well debug_cow only exists for CONFIG_DEBUG_VM so probably doesn't
need to be documented unless CONFIG_DEBUG_VM is documented in the
first place. It seems production kernels aren't using DEBUG_VM.

> Ben, do you have time to update the patch?  It sounds like this is 2.6.39 
> material.

I think it's fine for 2.6.39. Note that these tweaks are mostly for
debugging too, unless something's bad in compaction one wouldn't need
to tweak those. The only ones to tweak are the khugepaged parameters
and those are integers not booleans.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]