mm: Disable proactive compaction by default
On-demand compaction works fine assuming that you don't have a need to spam the page allocator nonstop for large order page allocations. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This commit is contained in:
parent
c3807312b1
commit
3a03f46735
1 changed files with 1 additions and 1 deletions
|
@ -2669,7 +2669,7 @@ int sysctl_compact_memory;
|
||||||
* aggressively the kernel should compact memory in the
|
* aggressively the kernel should compact memory in the
|
||||||
* background. It takes values in the range [0, 100].
|
* background. It takes values in the range [0, 100].
|
||||||
*/
|
*/
|
||||||
unsigned int __read_mostly sysctl_compaction_proactiveness = 20;
|
unsigned int __read_mostly sysctl_compaction_proactiveness;
|
||||||
|
|
||||||
int compaction_proactiveness_sysctl_handler(struct ctl_table *table, int write,
|
int compaction_proactiveness_sysctl_handler(struct ctl_table *table, int write,
|
||||||
void *buffer, size_t *length, loff_t *ppos)
|
void *buffer, size_t *length, loff_t *ppos)
|
||||||
|
|
Loading…
Add table
Reference in a new issue