On 3/2/21 22:21, Pintu Kumar wrote: > The sysctl_compact_memory is mostly unsed in mm/compaction.c > It just acts as a place holder for sysctl. > > Thus we can remove it from here and move the declaration directly > in kernel/sysctl.c itself. > This will also eliminate the extern declaration from header file. > No functionality is broken or changed this way. > > Signed-off-by: Pintu Kumar <pi...@codeaurora.org> > Signed-off-by: Pintu Agarwal <pintu.p...@gmail.com>
You need to specify the first commit which added sysctl_compact_memory variable and if exists the last commit which removed the last access of the same variable in the file mm/compaction.c in for completeness of the commit log.