From patchwork Wed Sep 8 03:00:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12480081 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DDF5C433F5 for ; Wed, 8 Sep 2021 03:01:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CC07360EE6 for ; Wed, 8 Sep 2021 03:01:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CC07360EE6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 76BA8940066; Tue, 7 Sep 2021 23:01:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 719AF940042; Tue, 7 Sep 2021 23:01:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 609E7940066; Tue, 7 Sep 2021 23:01:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0058.hostedemail.com [216.40.44.58]) by kanga.kvack.org (Postfix) with ESMTP id 52574940042 for ; Tue, 7 Sep 2021 23:01:40 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1BBCB2FE09 for ; Wed, 8 Sep 2021 03:01:40 +0000 (UTC) X-FDA: 78562905960.01.574DAE6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf12.hostedemail.com (Postfix) with ESMTP id CA48A10000B4 for ; Wed, 8 Sep 2021 03:00:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id DB5BB61153; Wed, 8 Sep 2021 03:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1631070039; bh=evux1MfxWkz2MP+CrNH1Sz60vV/y+EXApF3wQBGytr8=; h=Date:From:To:Subject:In-Reply-To:From; b=pSSuMOoX8fJkDasbADY0PIDO+zmo9TK4e9Jc2KhhzfTr2pW4HRQmKVoSdMfoSpVHt XshyoL/3GB8ExW+WJ0Ldlqr7SgVSY4/ptmUDtqsD5U41rMz7pvrvfFx84cZlUHvYVI NWWmIkNVbVD9w5M+htt1mjb57b8nj5Y3cqH/dljA= Date: Tue, 07 Sep 2021 20:00:38 -0700 From: Andrew Morton To: akpm@linux-foundation.org, itazur@amazon.com, kuniyu@amazon.co.jp, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org Subject: [patch 140/147] pid: cleanup the stale comment mentioning pidmap_init(). Message-ID: <20210908030038.dWCH1ffAI%akpm@linux-foundation.org> In-Reply-To: <20210907195226.14b1d22a07c085b22968b933@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=pSSuMOoX; spf=pass (imf12.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: CA48A10000B4 X-Stat-Signature: i56df1x6kewcocxrfqsa1ocjktfo4txk X-HE-Tag: 1631070039-862003 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: From: Takahiro Itazuri Subject: pid: cleanup the stale comment mentioning pidmap_init(). pidmap_init() has already been replaced with pid_idr_init() in the commit 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API"). Cleanup the stale comment which still mentions it. Link: https://lkml.kernel.org/r/20210714120713.19825-1-itazur@amazon.com Signed-off-by: Takahiro Itazuri Cc: Kuniyuki Iwashima Signed-off-by: Andrew Morton --- include/linux/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/threads.h~pid-cleanup-the-stale-comment-mentioning-pidmap_init +++ a/include/linux/threads.h @@ -38,7 +38,7 @@ * Define a minimum number of pids per cpu. Heuristically based * on original pid max of 32k for 32 cpus. Also, increase the * minimum settable value for pid_max on the running system based - * on similar defaults. See kernel/pid.c:pidmap_init() for details. + * on similar defaults. See kernel/pid.c:pid_idr_init() for details. */ #define PIDS_PER_CPU_DEFAULT 1024 #define PIDS_PER_CPU_MIN 8