Thread (1 message) flat view 1 message, 1 author, 2021-03-04

Re: [PATCH] mm/compaction: remove unused variable sysctl_compact_memory

From: Chaitanya Kulkarni <hidden>
Date: 2021-03-04 00:27:14
Also in: linux-fsdevel, lkml

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 <redacted>
Signed-off-by: Pintu Agarwal <redacted>
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.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help