From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 330DFC433F5 for ; Thu, 21 Apr 2022 18:23:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 464176B0072; Thu, 21 Apr 2022 14:23:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 413136B0073; Thu, 21 Apr 2022 14:23:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2DB216B0074; Thu, 21 Apr 2022 14:23:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 1E5376B0072 for ; Thu, 21 Apr 2022 14:23:30 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id CF84337F9 for ; Thu, 21 Apr 2022 18:23:29 +0000 (UTC) X-FDA: 79381708938.26.0A35590 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by imf01.hostedemail.com (Postfix) with ESMTP id 8AFC940022 for ; Thu, 21 Apr 2022 18:23:27 +0000 (UTC) Date: Thu, 21 Apr 2022 11:23:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1650565408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YIa5soDBi1Ey1JpoFC00xu4CdnKdTNoCVLlSrOEyJHA=; b=rLUW31KQXVqJ4gmKuv+FfgLV44BDnDfmsT9gI0IjdHUJ8PxJZGj3vmJahKFtDYEEynFS6S i0uh61AdEuViShIPzJ/AGUoHmWtd/O8zMr5ZUz7fW4KX03xsgB2bXufPWkzUjnM+wKB2h+ NwA9+MdwN06miLtR2YvggqgIwkyXqJ0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Lu Jialin Cc: Johannes Weiner , Andrew Morton , Michal Hocko , Shakeel Butt , Muchun Song , Matthew Wilcox , Yang Shi , Suren Baghdasaryan , Vlastimil Babka , Wang Weiyang , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH -next] mm/memcontrol.c: make cgroup_memory_noswap static Message-ID: References: <20220421124736.62180-1-lujialin4@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220421124736.62180-1-lujialin4@huawei.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 8AFC940022 X-Rspam-User: Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=rLUW31KQ; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf01.hostedemail.com: domain of roman.gushchin@linux.dev designates 91.121.223.63 as permitted sender) smtp.mailfrom=roman.gushchin@linux.dev X-Stat-Signature: 4wo63seb6fgmjtf7ewns3rya4ikrmfhe X-HE-Tag: 1650565407-55586 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: On Thu, Apr 21, 2022 at 08:47:36PM +0800, Lu Jialin wrote: > cgroup_memory_noswap is only used in mm/memcontrol.c, therefore just make > it static, and remove export in include/linux/memcontrol.h > > Signed-off-by: Lu Jialin Acked-by: Roman Gushchin Thanks!