Re: [PATCH V3 1/2] mm: compaction: move compact_memory sysctl to its own file

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

 



On Thu, Mar 09, 2023 at 10:47:46AM +0100, Vlastimil Babka wrote:
> On 3/9/23 04:44, ye.xingchen@xxxxxxxxxx wrote:
> > From: Minghao Chi <chi.minghao@xxxxxxxxxx>
> > 
> > The compact_memory is part of compaction, move it to its own file.
> > 
> > Link: https://lore.kernel.org/all/ZAJwoXJCzfk1WIBx@xxxxxxxxxxxxxxxxxxxxxx/
> > Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> > Signed-off-by: Ye Xingchen <ye.xingchen@xxxxxxxxxx>
> > ---
> >  kernel/sysctl.c |  7 -------
> >  mm/compaction.c | 15 +++++++++++++++
> >  2 files changed, 15 insertions(+), 7 deletions(-)
> > 
> > diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> > index c14552a662ae..f574f9985df4 100644
> > --- a/kernel/sysctl.c
> > +++ b/kernel/sysctl.c
> > @@ -2190,13 +2190,6 @@ static struct ctl_table vm_table[] = {
> >  		.extra2		= SYSCTL_FOUR,
> >  	},
> >  #ifdef CONFIG_COMPACTION
> > -	{
> > -		.procname	= "compact_memory",
> > -		.data		= NULL,
> > -		.maxlen		= sizeof(int),
> > -		.mode		= 0200,
> > -		.proc_handler	= sysctl_compaction_handler,
> > -	},
> >  	{
> >  		.procname	= "compaction_proactiveness",
> >  		.data		= &sysctl_compaction_proactiveness,
> 
> There's also this one, and two more, please move all of them at once?

I'll wait for a v4, and if you can rebase on top of this tree that would
be appreciated:

https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=sysctl-next

  Luis




[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