From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEFE23F4DFB for ; Tue, 14 Jul 2026 20:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784059330; cv=none; b=Wt1vx+Bcl3hJQHpq53Vp1PgmF/ps9iDl2eJWAX+9s3AvtZ6j0FT8k/1+CIacCrgVcrxmc6Qjnw+H1Tlr4P2fkN70pqAEZQnY4hLrfawr3N/les9t5rEUJx6ICgtt7cORa4iGBls7X2FWe17ZmUHsKnDy6HCGlDGxHjRaHhdcWQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784059330; c=relaxed/simple; bh=1S9LlB1FfQeGmdklTKpu+OZCLRMrE0GysRmvObCavpQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S9BDdXi9i7Lyh7PCqvYQBzdMjLZvOaLQacxh9ArLeIe1ZIetEoNMNIpntRJbXR4D08PubQaw/dKH7iJKW5ibcBJLkzhkFGIn2XpwiSdwSBwnrjRpesL0QtmH8fslouQWOiUnLcmCO/0qsgPGgdsH5iYYm1x0LyX3EeAkyAbgdwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=iDmk6w9d; arc=none smtp.client-ip=91.218.175.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="iDmk6w9d" Date: Tue, 14 Jul 2026 13:01:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784059316; 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=5iQTYalcOPdzmrOdtskVxlMVi64c8hoKREEpckzvENQ=; b=iDmk6w9d3cXbR8IsPomQZgWuP8mSwsa2F2OpOGKY94SNiRJ2qNqcSgcef7bv7LAc2sUJA3 eLwr/L1+atgHnoxg0VvDjpgI4T1PxQRU1LxfS7zV5oIjghoKtYe8AHHqjGcZHbAqFY/Vyd pnrY8DMXXhnj5sc3lmJxJ0AlNuFHrWk= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Guopeng Zhang Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Guopeng Zhang Subject: Re: [PATCH] mm: memcontrol: drop unused cpu argument from flush_nmi_stats Message-ID: References: <20260713090010.2991906-1-guopeng.zhang@linux.dev> 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: <20260713090010.2991906-1-guopeng.zhang@linux.dev> X-Migadu-Flow: FLOW_OUT On Mon, Jul 13, 2026 at 05:00:10PM +0800, Guopeng Zhang wrote: > From: Guopeng Zhang > > flush_nmi_stats() does not use its cpu argument. Remove it from the > function and its !CONFIG_MEMCG_NMI_SAFETY_REQUIRES_ATOMIC stub. The > caller still uses cpu for the subsequent per-CPU rstat flush. > > No functional change. > > Signed-off-by: Guopeng Zhang Acked-by: Shakeel Butt