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 BF3CB2773FC for ; Thu, 11 Dec 2025 06:41:12 +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=1765435280; cv=none; b=YCUoPmb6/gbnn70qc6XoJxKjJ7E2JhIx8D8w6MgmSCgkQM3jur/MRQNOkjp/qXfPGigtc6xVHOQn8NX6j8VmS0IJ48ocBy180PZvjS/za2XotJs+QqJXFfDcgLYgxu8nxuwPnEUPVHq0lRU82urN1nfCyleX473uJLx0ibCEsLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765435280; c=relaxed/simple; bh=19FOWqt0fjZkf4ZiZyOPLC4hOzFhZxxDvDjxd/ML1xw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lek/LwIKg2e/xlzCzUIf3cxQq0KK5t2uJtozIPd0BqmnucdMJrbZ8nQXpVGT+HpT65W/1mplXgAbttSwD/bNzzUo+MpdGJgLfdvPCtaOLOf7z4KWt++P9L6YHAbW5pnpMg6vI1TEH/ObyU8yI7D5LsFZen9ing7ox2J1ZruMSTo= 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=PVm2Ovmy; 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="PVm2Ovmy" Date: Thu, 11 Dec 2025 06:41:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1765435270; 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=Z/jPsKfeO0D+5qsv+PXL7ya2LAsONenY167Q1JLuy3w=; b=PVm2OvmyiPRuk6NVjfUWFRFPVaVXEjOBDMp1Om9zewhwbqJ6L1+VNe/VOetrK9/wtLyYdp httjUu831I0U1nS0LG9hHslo2hN8SGKwRojMXfP1lKiHHTLzPnthFQGrODDFkayQMijHTq waWCitCrRoV3kIYJHo2fPjMEpHQ4+hg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Johannes Weiner Cc: Andrew Morton , Matthew Wilcox , Vlastimil Babka , Michal Hocko , Shakeel Butt , Muchun Song , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: memcontrol: rename mem_cgroup_from_slab_obj() Message-ID: References: <20251210154301.720133-1-hannes@cmpxchg.org> 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: <20251210154301.720133-1-hannes@cmpxchg.org> X-Migadu-Flow: FLOW_OUT On Wed, Dec 10, 2025 at 10:43:01AM -0500, Johannes Weiner wrote: > In addition to slab objects, this function is used for resolving > non-slab kernel pointers. This has caused confusion in recent > refactoring work. Rename it to mem_cgroup_from_virt(), sticking with > terminology established by the virt_to_() converters. > > Link: https://lore.kernel.org/linux-mm/20251113161424.GB3465062@cmpxchg.org/ > Signed-off-by: Johannes Weiner Acked-by: Roman Gushchin Thanks!