From patchwork Thu Nov 29 15:08:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Aquini X-Patchwork-Id: 10704759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B1B317F0 for ; Thu, 29 Nov 2018 15:08:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74A822B72D for ; Thu, 29 Nov 2018 15:08:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 683A92B4E9; Thu, 29 Nov 2018 15:08:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A60582992D for ; Thu, 29 Nov 2018 15:08:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6E1536B532E; Thu, 29 Nov 2018 10:08:36 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 690496B532F; Thu, 29 Nov 2018 10:08:36 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 57F5F6B5330; Thu, 29 Nov 2018 10:08:36 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by kanga.kvack.org (Postfix) with ESMTP id 330106B532E for ; Thu, 29 Nov 2018 10:08:36 -0500 (EST) Received: by mail-qt1-f200.google.com with SMTP id k90so2012038qte.0 for ; Thu, 29 Nov 2018 07:08:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=30nN5t4qL+D9LT8fxBWB6PDqZAMKUcgf/04mfQ7zR0A=; b=ZfMoOGUcyjvWnEolqejALq0L6fX+d0WShRau3tliMlvB1JImrSOWvBZaOsQJqyakXP luG24kFmQ/39x3vYvAbu/9TfWYtKWCxZNPNVft5/MooGHYMLcZRe4SQRwWtGqEq+4Dzk 1fW/NzP4mROcDBxexKKP5s1+u+bHz6vZaWE3kvUNC7owlvBhTGqURoO8xD7OFMkYUmE+ 00RLVYlQ1hKI7ntjkw0eUGIt6meIPJySOURt2SoDgvNtpfq0EqY4d7fmfDcdcsS90v/9 FZk+cAWm0XVZrjIwHKAIych5fm0jiiHXWAxbpCMEEwk/jdGLZ9aq0apieR3PdRSSw5Cm DIGg== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of aquini@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=aquini@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Gm-Message-State: AA+aEWboQmMB+aNpqRJzWtQs5iVIhrBD/RJ/FfsOe+Bbbu0QIvFMdjcf tsqLhRF++y1+t035yoP0MOULEUdII8UVWwmlKFXb54ksc0O34MKwjtZMv0KrFfZY8RmPOTT/BfP UJTUtTpE8hkrZ88ETusNX+B068x4hu+nJjdrcttcSGgEPrber8UULddu0mQz2bM6YTg== X-Received: by 2002:a37:39cd:: with SMTP id g196mr1694116qka.237.1543504115844; Thu, 29 Nov 2018 07:08:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/UafsA/f1+ia6fWClLMTCKrgHWHxU4kLjtPQflfeEupSRYufViLA+CSDLbdnsSe3317LOXv X-Received: by 2002:a37:39cd:: with SMTP id g196mr1694064qka.237.1543504115280; Thu, 29 Nov 2018 07:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543504115; cv=none; d=google.com; s=arc-20160816; b=IrvQsIdbcomMFzDEhgWsYQTElPcBEcpLYMrR43D3wnxRxB2w1S+AHu8+uWYDywWmG1 sXEY5Y58AtrMnvOOIYoIFB09ZwY759iEguzj+0BsyFJifvrXlId5PtlxDxMcYYIFzMCp SnWuT/iryr2EYoPeKo5L8KXi97mgcby/IcOnV5fd3CVnRNhtOn8GaAZHILRlA8OKcqJG q88rSgYQtnVXUdtPN19dLGeu+RBrwpVQaE2NqsKhapW25I3T9xly3I1rBBLJvVkmvYAj o8BknyElg0l4MKlQpHXKjC5ZzB+4ZaUe1uT7caKH40KvFByJXSo5o3mp8GhG/loa//KT ELEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=30nN5t4qL+D9LT8fxBWB6PDqZAMKUcgf/04mfQ7zR0A=; b=vxaoP+DQ4RmcnikV5y0fWWe7hoxae+dfIRCLwaBsAOa6GQ6nXP9ehZkYKUqDxURpHM lwAPgFO95Ok1jIbePeM3U8AVCptppPDtaAi+E9OUm9oNQv2t72WVp/y1cjeVpRyT0PqB +MJJ174sHeIHxYl5L/P+0l57du6nBtlJj/i/j9i9dCclSi6u/fCaVW3J0QZdmUP3lHQH eXi8NByISsrhCopEjaVaGjclk42c/o8o5wVgPCh/NkuzIk/bPCuYtI1RhNifJZj0/E3l tdwXlQOgfy6uX9hk1uKWVcoqwm92egDkAz480KSeYpAmVIcjUHYtLDHKkjdo9IZpJxkW gBjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of aquini@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=aquini@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id x56si1479259qtc.123.2018.11.29.07.08.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 07:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of aquini@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of aquini@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=aquini@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 */