From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 7FB4937DEA4 for ; Mon, 13 Jul 2026 12:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783945883; cv=none; b=Qj7PitekSWEalYb1NmE7dwP1uukFF7/hCk0bpWkXFVX54jmKTsAa33ZeXXWlZHjwLlWi5buzJUC8XZWcIoAkmvaZoSSoDbO4fpQ8M3wMkdnvTZkV/0PIE9tF/+HG3T8Y8ioXgRLDg0UreCMrrE63b+sfyqD/1B8GMdMGUa4EaI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783945883; c=relaxed/simple; bh=JI+/o9g62QcrTsdBJA8Y9yefEkfCO4FlJVcAJIAYH+A=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=pUw7gePz9WvazJdqajM/L1xtAq5tKhM6u8FbKBqFtX7drIF4fM9n1UFHM6V6OJbVERkCUpp51ZXCCcr8lKu+wabMe7BOHVZE8tmdHpT5FnpbelYrzwSo/63Ucn6gQFa/5iEEhBp/FtTelB5WhdK23oIqs0/ehh5OAlckrT+qXPs= 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=JfRMoYe/; arc=none smtp.client-ip=91.218.175.186 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="JfRMoYe/" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783945869; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JI+/o9g62QcrTsdBJA8Y9yefEkfCO4FlJVcAJIAYH+A=; b=JfRMoYe/osc67xC5UABSw/Jid07sqLX65BD/x+9RL9hscga8kjPX1PdLGZ8PW0DzBQwJRO pH+MmCQrpYIYZwFKQCfjkAF0s5YR+BnX3cAxQIfMUrcSSoCrV9DdPJpof+re3Sdwlwsxbz NHLsfxHkgMFEqPjPJnO7Ywt7bSI0IBc= Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: [PATCH] mm: memcg-v1: account vmpressure event allocations X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20260713085520.2953121-1-guopeng.zhang@linux.dev> Date: Mon, 13 Jul 2026 20:30:31 +0800 Cc: Andrew Morton , Roman Gushchin , Shakeel Butt , Stanislav Fort , Johannes Weiner , Michal Hocko , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Guopeng Zhang Content-Transfer-Encoding: quoted-printable Message-Id: <523274F8-9DE3-406A-80BF-00AF0610D033@linux.dev> References: <20260713085520.2953121-1-guopeng.zhang@linux.dev> To: Guopeng Zhang X-Migadu-Flow: FLOW_OUT > On Jul 13, 2026, at 16:55, Guopeng Zhang = wrote: >=20 > From: Guopeng Zhang >=20 > Commit 72797d218b43 ("mm/memcg: v1: account event registrations and = drop > world-writable cgroup.event_control") accounted cgroup v1 event > registration allocations with GFP_KERNEL_ACCOUNT, but missed struct > vmpressure_event. >=20 > Use GFP_KERNEL_ACCOUNT for this allocation as well. >=20 > Fixes: 72797d218b43 ("mm/memcg: v1: account event registrations and = drop world-writable cgroup.event_control") > Signed-off-by: Guopeng Zhang Reviewed-by: Muchun Song