From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 6CE0736AB74 for ; Wed, 18 Mar 2026 20:20:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773865247; cv=none; b=Z1MmaoZ3Gdgt1Z+35xhxWxPX+6kPh3f330YMSb8Ued72UJIXCR8loTcy7Bm7TM+cY1cizaPbywB9QS81x3KEKjF4VpUMnwJEa3MHSKYN+TBFuzu8BtwUdjdlYvrph3gwZ1IiKbyOKHFKkZFJaboa0YfKEF3D+yE227kticz6ZzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773865247; c=relaxed/simple; bh=OpUanLYwk//8sRY3t8MOwyrSLkLoKpxiI1PEtx2ILQU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kGxYqThPm+f+Oq9lLF+nGFq2ki+BC3hBKZYdLC2Xrls0VqjOvOkmL4vA6H6NBlunxylFIvYXrLnKP05nlyCJtXOdBJBp1FHh9qbClADptLR/WBTEgo5yvrTGf5BZkZvqCw0nia9VbBr8YtVBNIOigLwRpKFzhlXUCJ50Ix6BteI= 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=AGPJdqR8; arc=none smtp.client-ip=91.218.175.180 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="AGPJdqR8" Date: Wed, 18 Mar 2026 13:20:39 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1773865244; 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=Bxij6mVCRTnlUykaXUvSflJ+OI3kIm5C5tdfjXoBy0M=; b=AGPJdqR840yx7hCYhDNUHhQbLZXhnhtqWDSzOrzyNM2g/ftgiV05r8G1Eznli34ZBqo3qS ieBww6a5LWJpQcvU04CklRPkuEuayZPvE8sM4JbsKBaB/F3Qw4ArY+LsWJvgvxJ3DxaVqd QTmyYSxQkBVFhFvvfsa7VqX60mWwGoE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Johannes Weiner Cc: Andrew Morton , David Hildenbrand , Yosry Ahmed , Zi Yan , "Liam R. Howlett" , Usama Arif , Kiryl Shutsemau , Dave Chinner , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/7] mm: list_lru: move list dead check to lock_list_lru_of_memcg() Message-ID: References: <20260318200352.1039011-1-hannes@cmpxchg.org> <20260318200352.1039011-4-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: <20260318200352.1039011-4-hannes@cmpxchg.org> X-Migadu-Flow: FLOW_OUT On Wed, Mar 18, 2026 at 03:53:21PM -0400, Johannes Weiner wrote: > Only the MEMCG variant of lock_list_lru() needs to check if there is a > race with cgroup deletion and list reparenting. Move the check to the > caller, so that the next patch can unify the lock_list_lru() variants. > > Reviewed-by: David Hildenbrand (Arm) > Signed-off-by: Johannes Weiner Acked-by: Shakeel Butt