From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (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 9786B43552E for ; Tue, 14 Jul 2026 19:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784059198; cv=none; b=LrUQo9LQhGIuabjOlR2ZpqumUOWhJlNrlFlzU3ReWV4OgB7l+3aR30/GjrubgOoz86novEwhARz/nfOWxqLwphm8fJHQeK+mfCoLS0xC1Jnz4XqCXfS0r1Pa1vbUmPAwdYrXqQ6O4Hr7TLMfwi3lwinh14baesEmaL/Yj/QcqHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784059198; c=relaxed/simple; bh=KSumWhLUw1UkukeoZQCDw4phlIVdqeL5qdt5XPGHCVU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Vv5GLiqg9e8N3kZ9AtQRuzcP28pL6RhEfVawsh/d5xCy84hk0rpRbeq+pJqmxOq8UbM6seIQ5JrHhfdY+HaqpRwDfi/o7ZPEGraD+3sjlVG6jSdOvvOOZwk5Zkkz2u4Fa57Rsax4P/LT7TTviIZ8sd6U/UMsk0Ezh7KJiP6yXjg= 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=Zy+ZtPAo; arc=none smtp.client-ip=95.215.58.187 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="Zy+ZtPAo" Date: Tue, 14 Jul 2026 12:59:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784059184; 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=IDSJzO5pJmxkBK1F3ZKqyU0APXt0C4YAh0U5SLJWhSc=; b=Zy+ZtPAoEvh7n4JxV8gDM1sCVb4ngVGAqPqLN4Exmlew8U8V2P5GUpMzQ4ESE3ozLvRw48 k9apBqcULygG1J53BQG/k496OfQvi9WDXlJBl1/Or+XlCWY/I3a1VA32qSyk09Hrp7i5Wg 9SLUIbl6pRFyAQqKq9k96WFfvcLU34c= 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 , Roman Gushchin , Stanislav Fort , Johannes Weiner , Michal Hocko , Muchun Song , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Guopeng Zhang Subject: Re: [PATCH] mm: memcg-v1: account vmpressure event allocations Message-ID: References: <20260713085520.2953121-1-guopeng.zhang@linux.dev> Precedence: bulk X-Mailing-List: cgroups@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: <20260713085520.2953121-1-guopeng.zhang@linux.dev> X-Migadu-Flow: FLOW_OUT On Mon, Jul 13, 2026 at 04:55:20PM +0800, Guopeng Zhang wrote: > From: Guopeng Zhang > > 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. > > Use GFP_KERNEL_ACCOUNT for this allocation as well. > > Fixes: 72797d218b43 ("mm/memcg: v1: account event registrations and drop world-writable cgroup.event_control") > Signed-off-by: Guopeng Zhang Acked-by: Shakeel Butt