aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-07 12:56:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-07 12:56:04 +0100
commit1528e40fd7d382e9668d3a1876a83d30bb04d554 (patch)
tree483ddbe2953a395a4121eee6cc6250ffab50e8db
parentRevert "tty: xilinx_uartps: Correct return value in probe" (diff)
downloadlinux-dev-1528e40fd7d382e9668d3a1876a83d30bb04d554.tar.xz
linux-dev-1528e40fd7d382e9668d3a1876a83d30bb04d554.zip
Revert "sysctl: clean up nr_pdflush_threads leftover"
This reverts commit 77cab92a2cb15bcbdd7be0af773799e92d6a8546. Heiko reports that this breaks building of strace, which isn't ok. Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Rafael Aquini <aquini@redhat.com> Cc: William Kucharski <william.kucharski@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/uapi/linux/sysctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
index 9df59925ed55..d71013fffaf6 100644
--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
@@ -161,7 +161,7 @@ enum
enum
{
VM_UNUSED1=1, /* was: struct: Set vm swapping control */
- VM_UNUSED2=2, /* was: int: Linear or sqrt() swapout for hogs */
+ VM_UNUSED2=2, /* was; int: Linear or sqrt() swapout for hogs */
VM_UNUSED3=3, /* was: struct: Set free page thresholds */
VM_UNUSED4=4, /* Spare */
VM_OVERCOMMIT_MEMORY=5, /* Turn off the virtual memory safety limit */
@@ -174,7 +174,7 @@ enum
VM_DIRTY_RATIO=12, /* dirty_ratio */
VM_DIRTY_WB_CS=13, /* dirty_writeback_centisecs */
VM_DIRTY_EXPIRE_CS=14, /* dirty_expire_centisecs */
- VM_UNUSED15=15, /* was: int: nr_pdflush_threads */
+ VM_NR_PDFLUSH_THREADS=15, /* nr_pdflush_threads */
VM_OVERCOMMIT_RATIO=16, /* percent of RAM to allow overcommit in */
VM_PAGEBUF=17, /* struct: Control pagebuf parameters */
VM_HUGETLB_PAGES=18, /* int: Number of available Huge Pages */