Re: [PATCH] mm: add build-time option to set hotplug default type

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

 



On Fri, Dec 20, 2024 at 07:25:57PM +0100, David Hildenbrand wrote:
> > If you have another suggestion, I'm open
> 
> I'd just do it like CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS, and simply do
> 
> if (IS_ENABLED(MEMHP_DEFAULT_ONLINE_TYPE_ONLINE))
> 	...
> else if (IS_ENABLED(MEMHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE))
> ...
> 
> No need for parsing strings and dealing with unexpected values.
>

onward to V3 :P 

~Gregory




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

  Powered by Linux