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 99BA7C19F28 for ; Wed, 3 Aug 2022 13:21:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 26C338E0001; Wed, 3 Aug 2022 09:21:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 21B1D6B0073; Wed, 3 Aug 2022 09:21:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E3798E0001; Wed, 3 Aug 2022 09:21:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id EFFBE6B0072 for ; Wed, 3 Aug 2022 09:21:25 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id CB29D1A14D3 for ; Wed, 3 Aug 2022 13:21:25 +0000 (UTC) X-FDA: 79758342930.21.6108844 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf31.hostedemail.com (Postfix) with ESMTP id 4EB4220117 for ; Wed, 3 Aug 2022 13:21:24 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 1911F37B77; Wed, 3 Aug 2022 13:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1659532883; h=from:from:reply-to: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=FdXtbTbAlquuEbPLJVuxdZ+BYt1g8PCyLrizW86wNz4=; b=KGj11myTo2pD1rq3sgsmCbuXzyVFUFNrsHMPtvFpv6jtBsFvqlpG/lPmQtBm8TmuhSQ0Dh E87kA5/WO7CwqhWFvTs6YiUjiB4wG1fIQoCTMULofdQfQv3OmCT0bGqwxyz8ib8NNJrldD QWqQpB/GE7PIrY21+kIH0Tyfolg+Ceo= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EA90113A94; Wed, 3 Aug 2022 13:21:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iKFWNlJ26mLgegAAMHmgww (envelope-from ); Wed, 03 Aug 2022 13:21:22 +0000 Date: Wed, 3 Aug 2022 15:21:22 +0200 From: Michal Hocko To: Feng Tang Cc: Muchun Song , "akpm@linux-foundation.org" , "bwidawsk@kernel.org" , "dave.hansen@linux.intel.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Mike Kravetz Subject: Re: [PATCH] mm: mempolicy: fix policy_nodemask() for MPOL_PREFERRED_MANY case Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659532884; a=rsa-sha256; cv=none; b=usAc8GktQOz+xUwUJ27jD7G5X7HTO0KLDHb0EhT8jCCmDFTYiVnB7TY66jdIJl5O6MB0aa +IltfW4ClpBw9cqB1Og99mzA3DWU/rtVKq7DOSPqIMt2+Ju5/PuEN16wMsBdGR1Fk9OdAd QQOY/xbER8H8lo5yGMhWFFepgkq4e8c= ARC-Authentication-Results: i=1; imf31.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=KGj11myT; spf=pass (imf31.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659532884; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=FdXtbTbAlquuEbPLJVuxdZ+BYt1g8PCyLrizW86wNz4=; b=qiVG/Vi6exnIoKkxReB8wqvm/vn2c57iK1/+qGPIoa7Ck4JkzVM8eE/Dt/Jod4VuDcRHFF hq81Afgdyd0MottKXtBw42DWR1W1BnfK1eZLOU2hx6AlSop/dephf3kQYzlJo64stCrogL BV8Shr4WaejQhqXGATUszGRaRfWAMfE= X-Rspamd-Server: rspam04 X-Stat-Signature: apuuq1yt7ipst53319667sz7ey3bstng Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=KGj11myT; spf=pass (imf31.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-Rspamd-Queue-Id: 4EB4220117 X-Rspam-User: X-HE-Tag: 1659532884-97571 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 04-08-22 05:08:34, Feng Tang wrote: [...] > Do we still need the other nodemask API I proposed earlier which has > no parameter of gfp_flag, and used for __nr_hugepages_store_common? I would touch as little code as possible. -- Michal Hocko SUSE Labs