From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E2DE230D14 for ; Wed, 14 Jan 2026 17:57:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768413429; cv=none; b=lKAF40ZQkMJYpJrdBPI8cyyaAQm0UGgeHNZtSHUkMotFj1idWZuw6sz2dcMYqSpazHYp0QTkpiMBom9hYBEwodIRDpcQAQnrB6YHMkmNjSKGAStE3DjtPLk8XHUi7fJ+72yedo7YHMJ5hMRMeiFoa7r6cAgAAE+nuxpVVDTXs/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768413429; c=relaxed/simple; bh=bjd1DUxcQklTfNGtlesbWDnQFIa0ZVZlHa3RlKGWDT4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e8TJX8kwI9KskXT71o/Yr51a9oA0XCUKTyJ3PKqqtRc4o2OdGs2NtOlrIvGE2BSahX6T9a89hCF4vrko8rgFH452F/8pkq51C5/Vvvzb0zDrgKlTNbJcjep26hJqNBYzcIgiZ2gP5HGBkwuNk1FH9hJG1Ssqrh0868O/BfRyQ+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=nvRj6brp; arc=none smtp.client-ip=209.85.219.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="nvRj6brp" Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-88fe44cce7eso125436d6.3 for ; Wed, 14 Jan 2026 09:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1768413427; x=1769018227; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=u1LfBQtSvV6SLM6qNtJr3uIJMakO8hJc3sz5OkZetqw=; b=nvRj6brpYyyaUXXWI3dr9oIMAOmOIqpFp/nzhwGd+CBtmgUa/UtXLaQ8j87vCHZV6b 1I2vcdOd+LQhAUUHURxQj2VsCVR9D5psGFcjedHwdaDG8txA/87qtJiuCGpjJni56r6F bJQZmbbqku2YjPqBamqfDgdwx5Wdbgo7eVXfx62Pbh5grp5wJy6LHNhjLPn1buvoLqUP bxhrpg+MbiFpAWnagH2qU0UVjVhQ0Vb0AXGXSLYkWKGrQJBaZFhs3GcPlSHIAIE43kuQ PZxebz1ELYEMpYhbfawlNeLi42LVjS/53L8s6rG2p54otvHShuNnKOdcPobzd2IsNiUo n7EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768413427; x=1769018227; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u1LfBQtSvV6SLM6qNtJr3uIJMakO8hJc3sz5OkZetqw=; b=qa90xf2so4ood1c9XE2JRbpFRu1xi9ySzIgSrR/fzMNlCqoP9rG+qrghbEdH9H1SGF AQ8sIt14lHclSmaRC4f5nsb3t5m/8Gq4UcCAC4cLX+wScSUoRX/WcZzyPJ+dZsz1H1gn OJ/GLC8x6gtAz1qumm07K+nphg78g+7YUkZS/NJjAi5oqVLGFLxwWV0Q7+AKCzvB4pXW s9QvfgFf3ETBFfh5vY/B0g1wZJlK8/iMHUERO69rbtERwi8jH6PNCZYhF3ZAG17LY6KQ 30fojFBnuHlXKr8taauEBd547P/1ff6Kle+ZdR1+zCxnxZM0MWGJEPlozhW7e262tFk7 OZ9Q== X-Forwarded-Encrypted: i=1; AJvYcCW8wzt3vDOvIfeGkloiZnGQYomXQONpp7fdVv2bjI8EFPdgdZPMoG1TTAHVf6cixet7i6aHKuY88VoHeXY=@vger.kernel.org X-Gm-Message-State: AOJu0YxhSS3/dRm6Qxqtgz9/N6GXtCdRzKudVvObkc+QhZ4EHfr83wiM JWdmCXTEXKGh2iaTXVsjL1O5ygB7WnrCxkGns13Pd0MlaYS64O22G2fQhqw7qrabhiI= X-Gm-Gg: AY/fxX7ni2pEip9JgDLJHsMTqTbTyLlCbwUFC7w6zhpYo/NpqzD5EsMBHoqJdGIralc mDogugURkA+sPWCxlUFZVGKVlhDLBXqAV3VLOKecJ/wjYC/eu4Q+1bFXGKuwlnUQsxBEwybqQeb /+gv6RYkoKUUEAShxXv3pgsA3whhXUvhu9MxTGShd4t3Ff5K24x2MUDiUF7ySWR/OqWyH890x2V bkNyBWVpI1pG5gxRdcCYRoHMpLH3H8315Tf7yCtyWeViM3WY/Adapx4N+/PeIp8mIDiRbnIGKkw brCAK2obh4OM+ocTn+XjEJvxRbMhHLJb5ghDR517fpITaPt/xCsj+fZU0nhlycIyI803f3dOhEn 1g7AxRHvosGDmQEm/mzDiobFk1sBh0gNI2GhQ5n7u8sRViaJuEDcJNaJSf7FP+McfwQ5RVnzMU5 LOSJtDXGaiPcp+sYwN/qxPi2x3YV4wEGOqRACgBAkGmWkGdXWpiFzGLkSEm6ggMrEkOR1FqQ== X-Received: by 2002:a05:6214:485:b0:890:808f:c26a with SMTP id 6a1803df08f44-89274371674mr44821006d6.30.1768413426930; Wed, 14 Jan 2026 09:57:06 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c530a73499sm206213985a.3.2026.01.14.09.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 09:57:06 -0800 (PST) Date: Wed, 14 Jan 2026 12:56:33 -0500 From: Gregory Price To: Yury Norov Cc: Andrew Morton , Alistair Popple , Byungchul Park , David Hildenbrand , Johannes Weiner , Joshua Hahn , "Liam R. Howlett" , Lorenzo Stoakes , Matthew Brost , Michal Hocko , Michal =?iso-8859-1?Q?Koutn=FD?= , Mike Rapoport , Rakie Kim , Suren Baghdasaryan , Tejun Heo , Vlastimil Babka , Waiman Long , Ying Huang , Zi Yan , cgroups@vger.kernel.org, Yury Norov , Rasmus Villemoes , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] nodemask: propagate boolean for nodes_and{,not} Message-ID: References: <20260114172217.861204-1-ynorov@nvidia.com> <20260114172217.861204-2-ynorov@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260114172217.861204-2-ynorov@nvidia.com> On Wed, Jan 14, 2026 at 12:22:13PM -0500, Yury Norov wrote: > Bitmap functions bitmap_and{,not} return boolean depending on emptiness > of the result bitmap. The corresponding nodemask helpers ignore the > returned value. > > Propagate the underlying bitmaps result to nodemasks users, as it > simplifies user code. > > Signed-off-by: Yury Norov Reviewed-by: Gregory Price