Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2579960imu; Thu, 29 Nov 2018 07:10:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/VkfzslgCwlPdNQyPImq9XN34Sztel4jyk5dwJQ5VenHih15I3lRLC/Chy+HNP2t65OdwRT X-Received: by 2002:a63:680a:: with SMTP id d10mr1568454pgc.396.1543504239654; Thu, 29 Nov 2018 07:10:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543504239; cv=none; d=google.com; s=arc-20160816; b=g8JFFA5a4hNlhU5IJBf/q2JmMfvvI62nqjQQqnPK3fTVm68JPlAlY9t13Zd0Rh4q/U QBPaEWm5kZippAWscdrWxG/fqGpYf3msr4M6C5wB4CWSctqB0J8F2SIrii/MUVO11W55 HfRlMAVnDbzv1KrG4qAUCg0GDBStEZ7piT3c6+od8gChnYnu8m8RHmlZe/cgkltrtJH8 QNZnHcSk8eyZ32ZbpEq4FxVYbCNmQu5WrO3Y/tEJzn3tXLKC/9GKTUZ6dBBywFQKPiF0 T35IexEio+X1MUwUnjJ11XxP4V+Mr37XrKkRR0kH0b8hnOGYtS7TWPJyARg5Vdvb7dnR 34HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=30nN5t4qL+D9LT8fxBWB6PDqZAMKUcgf/04mfQ7zR0A=; b=JFpr6Xs8lIif3+MdcB8RhICRWIs6KI58tRfiiPzHO0kd6EpQRb25WPKYv8RThvvb8B Uf2/HJ0Zn4KQFjU95bdnllbNJqI7cImRfqF+l234utlTtKnyxi8Ssiwj11bNm+SJSs0H aGPq+WvgevbkQyROKeN9CtzBiGDZ+TFAb8WiZ99dfecEhAKmBaVGWeXd70MhsyV9r67D UoMZCvztPlZBrKfymu7+V12vQPeH4bcTJ3bN4fKCmg7yiOGkdKtRUfygxckAVyAY/mCR lyx9Cn1YggMA/85RO4V/K8hLKcdP6kLfJGYzbKzi3fzvRLseF7u3dSaCTrQenuGqKZW0 JDVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o14si2111181pgi.134.2018.11.29.07.10.22; Thu, 29 Nov 2018 07:10:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729492AbeK3COO (ORCPT + 99 others); Thu, 29 Nov 2018 21:14:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7517 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728779AbeK3CON (ORCPT ); Thu, 29 Nov 2018 21:14:13 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5B2CCC05D3F3; Thu, 29 Nov 2018 15:08:34 +0000 (UTC) Received: from xps.redhat.com (ovpn-116-75.phx2.redhat.com [10.3.116.75]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39FD82633E; Thu, 29 Nov 2018 15:08:27 +0000 (UTC) From: Rafael Aquini To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, davem@davemloft.net, virgile@acceis.fr, linux-mm@kvack.org, william.kucharski@oracle.com Subject: [PATCH v2] sysctl: clean up nr_pdflush_threads leftover Date: Thu, 29 Nov 2018 10:08:17 -0500 Message-Id: <20181129150817.24443-1-aquini@redhat.com> In-Reply-To: <20181128152407.19062-1-aquini@redhat.com> References: <20181128152407.19062-1-aquini@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 29 Nov 2018 15:08:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org nr_pdflush_threads has been long deprecated and removed, but a remnant of its glorious past is still around in CTL_VM names enum. This patch is a minor clean-up to that case. Reviewed-by: William Kucharski Signed-off-by: Rafael Aquini --- v2: - adjust typo "was;" for VM_UNUSED2 comment [wkucharski] - add colon after "int" for VM_UNUSED15 comment [wkucharski] include/uapi/linux/sysctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index d71013fffaf6..9df59925ed55 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_NR_PDFLUSH_THREADS=15, /* nr_pdflush_threads */ + VM_UNUSED15=15, /* was: int: 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 */ -- 2.17.2