[PATCH v6 8/9] mm: multigenerational lru: user interface

Michal Hocko mhocko at suse.com
Wed Jan 12 02:31:57 PST 2022


On Wed 12-01-22 01:35:52, Yu Zhao wrote:
[...]
> But I saw people not following this practice, and I'm also tempted to
> do so. Can anybody remind me whether it's considered a bad practice to
> have code changes and Kconfig changes in the same patch?

If you want to have the patch series bisectable then it is preferable to
add kconfig options early so that the code is enabled in the respective
steps. Sometimes that can be impractical though (e.g. when the feature is
incomplete at that stage).
-- 
Michal Hocko
SUSE Labs



More information about the linux-arm-kernel mailing list