From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (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 9273046D2BE for ; Thu, 23 Jul 2026 11:32:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784806332; cv=none; b=DD6x+di8GV0OJJl5DZZkyJSHicQbmq6/sN6opy9VsuR7jdUSLUiM4fkUixoqO/+LJjjlAIMTDJvyEOTQVGkEl4065kUbwWUx8NcuCi+X29ugL+njHkfR+se8EiNiTpOA+0ISYXcUJxJsf083za793LvaG130BKxFPXMaY7XE5G8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784806332; c=relaxed/simple; bh=NnPu40SrBy2aJD/AIHJVCvPFltp3iJTB7tIGDkfb5jc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ONVbTHbt7DbXbwZtoI7+bN+2JIYlaUFDeVUbMabrE42rMMQNF4PsM96nWMzJWvPJD7RAfRqT0wndggVoz5QG1SHRVIZ7ahVg6JTMzqM0C+wcSD0lLwKLmpkhCwxZq5vudTUmbpxc/L6ZB2gHGUkb60qDEzomDujcse2m/8EBy4c= 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=sdt/50cy; arc=none smtp.client-ip=91.218.175.184 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="sdt/50cy" Date: Thu, 23 Jul 2026 19:32:00 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784806327; 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=WnP3NqUZtZbK6qpmXn4nR86n/4NymHwsXkDtmWeZw10=; b=sdt/50cydds8v3DMxd2uH7ZtdEkILdbmxDkxAbvhnei5MJH/K0PpMQaT3L1tp1hphszyXP skoflTDLjhC78zAMiVSByQf44kTodEcyOnlmshvAfId5F0DvbHFomEI63gCi556y1uY5ob H/IBUM71PHZ8bhOvSKItfENMQMcklig= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Hao Li To: "Vlastimil Babka (SUSE)" Cc: Harry Yoo , Suren Baghdasaryan , Shakeel Butt , Alexander Potapenko , Marco Elver , Andrew Morton , Christoph Lameter , David Rientjes , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2 06/13] mm/slab: abstract slabobj_ext.objcg access Message-ID: References: <20260720-b4-objext_split-v2-0-2fa7c6f60dbe@kernel.org> <20260720-b4-objext_split-v2-6-2fa7c6f60dbe@kernel.org> 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: <20260720-b4-objext_split-v2-6-2fa7c6f60dbe@kernel.org> X-Migadu-Flow: FLOW_OUT On Mon, Jul 20, 2026 at 04:16:20PM +0200, Vlastimil Babka (SUSE) wrote: > In preparation for changes to the structure, abstract getting and > setting the objcg field with slab_obj_ext_objcg() and > slab_obj_ext_set_objcg(). > Rename the field to _objcg to make an unexpected direct access a compile > error. > > No functional change intended. > > Signed-off-by: Vlastimil Babka (SUSE) Looks good to me. Reviewed-by: Hao Li -- Thanks, Hao