dm writecache: handle DAX to partitions on persistent memory correctly
[linux-2.6-microblaze.git] / kernel / sysctl.c
index f785de3..287862f 100644 (file)
@@ -2851,6 +2851,15 @@ static struct ctl_table vm_table[] = {
                .mode           = 0200,
                .proc_handler   = sysctl_compaction_handler,
        },
+       {
+               .procname       = "compaction_proactiveness",
+               .data           = &sysctl_compaction_proactiveness,
+               .maxlen         = sizeof(sysctl_compaction_proactiveness),
+               .mode           = 0644,
+               .proc_handler   = proc_dointvec_minmax,
+               .extra1         = SYSCTL_ZERO,
+               .extra2         = &one_hundred,
+       },
        {
                .procname       = "extfrag_threshold",
                .data           = &sysctl_extfrag_threshold,