From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) (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 259A134D4D5 for ; Thu, 26 Mar 2026 08:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774513075; cv=none; b=kOHuDNlkszF9+j05uvZEhmNHlAGpwQn1Weue/fjuTDGQROZ7RJDI293Hr47QfCIoNd8Cs5aJMyA3xaVLABXXL9CSzo381owJ2B6CA9pTON9YhkRVOI+CpOA2s6f7elqdEggIRWGYLfKuat1lhRkDsLx45v22Vt0cJldcmVQJB/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774513075; c=relaxed/simple; bh=sMFWXFO6cLuww1GusJy3mbB7SNxCe+Q9IO/iui2X94A=; h=MIME-Version:Date:Content-Type:From:Message-ID:Subject:To:Cc: In-Reply-To:References; b=fJdfQt6UFUx+fwrTZtpMfMkrZpfhf2bHeIKOIzjJ1vZgsEGrL7wQZN1GPWrXR0j+zNczj0iWepofKwDmjjedvSlIcOr8mlCqL7k9/uHjxHOjZ1pIwS/RrlKh14H9qiTM7ZBCZlvWp1eZF2xFl2tbUvLDTQVAzYYHGyq7oViZwgQ= 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=mZpGm7uf; arc=none smtp.client-ip=91.218.175.188 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="mZpGm7uf" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1774513061; 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=+cjXlOnP+xsK5fVXd4CCAeINLx8Rs+T12Wp3tIQpO1U=; b=mZpGm7ufgnlHUJfxVJ8pxUf6piil/vXgiBaxibhYcGgKSx8pRzxwv4ceQtAsYCsHYWyzYQ +vJd6EV8CXWdLfmN24ZFBblr6oUyse3RDML3abxEnm1D/YxXgri8bQ57Uy5DyfvNfS0+c8 zTFrkDB6myL75CMMptHGPnu6ncrQLrM= Date: Thu, 26 Mar 2026 08:17:36 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "teawater" Message-ID: <2755fdba5839e9f5ea654e2fe7a7853f990f194c@linux.dev> TLS-Required: No Subject: Re: [PATCH bpf-next v3 06/17] mm: define mem_cgroup_get_from_ino() outside of CONFIG_SHRINKER_DEBUG To: "Roman Gushchin" , bpf@vger.kernel.org Cc: "Michal Hocko" , "Alexei Starovoitov" , "Matt Bobrowski" , "Shakeel Butt" , "JP Kobryn" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Suren Baghdasaryan" , "Johannes Weiner" , "Andrew Morton" , "Roman Gushchin" In-Reply-To: <20260127024421.494929-7-roman.gushchin@linux.dev> References: <20260127024421.494929-1-roman.gushchin@linux.dev> <20260127024421.494929-7-roman.gushchin@linux.dev> X-Migadu-Flow: FLOW_OUT >=20 >=20mem_cgroup_get_from_ino() can be reused by the BPF OOM implementation= , > but currently depends on CONFIG_SHRINKER_DEBUG. Remove this dependency. >=20 >=20Signed-off-by: Roman Gushchin > Acked-by: Michal Hocko After dropping this commit, I applied the remaining patches to the current bpf-next and ran the selftests. Everything passed, though the following warning was observed during the build: make -j 30 -C tools/testing/selftests/bpf ... GEN /home/teawater/kernel/linux-ebpf/tools/testing/selftests/bpf/to= ols/build/libbpf/libbpf.pc Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs fr= om latest version at 'include/uapi/linux/bpf.h' CC /home/teawater/kernel/linux-ebpf/tools/testing/selftests/bpf/to= ols/build/libbpf/sharedobjs/libbpf.o Best, Hui > --- > include/linux/memcontrol.h | 4 ++-- > mm/memcontrol.c | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) >=20 >=20diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h > index 229ac9835adb..f3b8c71870d8 100644 > --- a/include/linux/memcontrol.h > +++ b/include/linux/memcontrol.h > @@ -833,9 +833,9 @@ static inline unsigned long mem_cgroup_ino(struct m= em_cgroup *memcg) > { > return memcg ? cgroup_ino(memcg->css.cgroup) : 0; >=20=20}