From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (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 03F372D1F7B for ; Tue, 11 Nov 2025 18:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762887596; cv=none; b=GKV4wF+3huhoIDW9nT+pOu5mlpDfaPK/nD3n64C1Vv8y89dNAWBuiSzhQq95QTVkE4VcFq/n8WlIPcS6FFu6YjoWj7S6GTipTW6gwooJl0qnKGHl3733WeTmo6QuH+fmBNqskkM8dC/PTEtLH7SP7sXMx7kWdbSSUj7KqvYoC0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762887596; c=relaxed/simple; bh=UMnEps90lDVVxQpCV0D0SupS08uIJn0CtLAQpVuX40E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=kYOjeoTcv4hHKygVyvi/Reh/Kyk+dyk9IMiXeZ5KmlNinaranCi1FHPYWuz4/kcdl776iURn1qjPUb//62RZ1SSdKnmJKknB/tcfH70Ox6nMyKat0jwmsxqNcSVcpMzVnuAdjydl5zXkvf/KJj2lBvtzIKar2XYwp1RVo+54Gc4= 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=NRm7sPR+; arc=none smtp.client-ip=91.218.175.189 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="NRm7sPR+" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1762887593; 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=UMnEps90lDVVxQpCV0D0SupS08uIJn0CtLAQpVuX40E=; b=NRm7sPR+NTC4j8oIQHpvopN6jNVoYW/ZMofwhUSzPQEo1Ux3CnCGioBiEM+9C6Q+Kdfh9c nrz1kfBvONTID8CAT+XGPRraT244HZrAO3hkwarmn1Tx3IOOutvqhPzYEGQlHQNVhlucOX KrIgBZbSrNylk/B/CLMxMDEOJICoQ9Y= From: Roman Gushchin To: Shakeel Butt Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Muchun Song , Harry Yoo , Qi Zheng , Vlastimil Babka , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Meta kernel team Subject: Re: [PATCH 4/4] memcg: remove __lruvec_stat_mod_folio In-Reply-To: <20251110232008.1352063-5-shakeel.butt@linux.dev> (Shakeel Butt's message of "Mon, 10 Nov 2025 15:20:08 -0800") References: <20251110232008.1352063-1-shakeel.butt@linux.dev> <20251110232008.1352063-5-shakeel.butt@linux.dev> Date: Tue, 11 Nov 2025 10:59:39 -0800 Message-ID: <877bvws8dg.fsf@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 X-Migadu-Flow: FLOW_OUT Shakeel Butt writes: > The __lruvec_stat_mod_folio is already safe against irqs, so there is no > need to have a separate interface (i.e. lruvec_stat_mod_folio) which > wraps calls to it with irq disabling and reenabling. Let's rename > __lruvec_stat_mod_folio to lruvec_stat_mod_folio. > > Signed-off-by: Shakeel Butt Acked-by: Roman Gushchin