From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (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 704EAB652 for ; Mon, 2 Feb 2026 03:50:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770004257; cv=none; b=uqx7RIGiZl6Lh9ZJAEvYtsdqw5C24KtYEORw0yiH7koZ0XzKfYBI3/N9vCO++3MK4c7N7RVazLuX3A5d/3I5KcqbEalTPKWmAFO3UH1OaiAJl1fKIY3yGfoOlicQz1sgv5pg+Vwt/3i/3MmT9on31NVub5OSOmzkBAP25s2hbmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770004257; c=relaxed/simple; bh=aYOQL5EQk1yr6CoZLb6V+j5aA1IqP4Ikgyh0/V96IUA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pfLqEmTzoWQcNToGVRX2YwxKqQW7nfy4qi2c3RvnWCmauxstRoIXGi/eMjoslVyG5fVB1//QFetT+4ZbKpP7E8qUSkR/h+188HI8ux6rpF37Zy20Qgg0wyGbcjMIpkKdzDnUooFQUR0WB9bBEpbFaP+8qoplqwj8FHDZ8LjqS2g= 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=SQQRCSOn; arc=none smtp.client-ip=91.218.175.171 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="SQQRCSOn" Date: Sun, 1 Feb 2026 19:50:48 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770004253; 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=o/nclWki/7xNBiIlkN5lOVwIekiG827g6kvt71oYAjY=; b=SQQRCSOnhRwyBJOGTKoC6hpkHmmhG9xPQf/BGFGZU5QS93z7dnK2JuOTM4uh6b2K6vOsB2 vKlJ7azzBawiw2ZNaSlUuW6LfkngfvK8vfVulMeJ+dad6OPIMrCb7EulMaQfMvkednXjqA LwC8zYdx1iieZpj4bLmKk2/eqwkIiEA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Roman Gushchin Cc: bpf@vger.kernel.org, Michal Hocko , Alexei Starovoitov , Matt Bobrowski , JP Kobryn , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Suren Baghdasaryan , Johannes Weiner , Andrew Morton Subject: Re: [PATCH bpf-next v3 06/17] mm: define mem_cgroup_get_from_ino() outside of CONFIG_SHRINKER_DEBUG Message-ID: References: <20260127024421.494929-1-roman.gushchin@linux.dev> <20260127024421.494929-7-roman.gushchin@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: <20260127024421.494929-7-roman.gushchin@linux.dev> X-Migadu-Flow: FLOW_OUT On Mon, Jan 26, 2026 at 06:44:09PM -0800, Roman Gushchin wrote: > mem_cgroup_get_from_ino() can be reused by the BPF OOM implementation, > but currently depends on CONFIG_SHRINKER_DEBUG. Remove this dependency. > > Signed-off-by: Roman Gushchin > Acked-by: Michal Hocko This code has been changed in the mm-tree and you can directly use mem_cgroup_get_from_id() after changes in the mm-tree.