From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 783C8331221 for ; Wed, 18 Mar 2026 17:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773856680; cv=none; b=nwIJlJ0KCQvP5zYgoDgS/AeR9PRe/mWjdpx4ygv4MvzGmL1XZJf8RnmftS8wSOtVZjKo5wCwzW8xqSLoei+v2HeOL8lYuNFrigud9r5cnS6jZM5XL5eChi51qvMZpZ/SvitLqyycresznA/a9vN4V6GMJDksxb6ASARl2458gjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773856680; c=relaxed/simple; bh=nCf3w72myRY3l7L9pWByOWKGLLicNf7Ddxx7ZLbtZKA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nhFcb+Z7fU8PiZwjVuSVdEJR+h0W9/0fWP11Wk9PfC293BOCscj0H/+IEY1nE8an4FQXU5EgrA7hF5eVSV6lKP8eEH7G9Vqn6PaG5xybIowMwxd4ZGNnjqdte+GStCNdyaEt3oFN/Aov3Pl3A67Wtx88WmmZ5kuo+Fw7iY5F4bA= 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=wmSn38Wc; arc=none smtp.client-ip=95.215.58.182 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="wmSn38Wc" Date: Wed, 18 Mar 2026 10:57:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1773856676; 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=6L0oGl6DvW6Y4v+MwLJVYT/n4crirqke5Iu0Ea7w6kU=; b=wmSn38Wcair8acCWtYsAZFwEjs7rralOYX8oELhjJFdOSEwgKudBL/ZL9GiG8/sKscEkwY C8hoggO/7VgnVPU39NOopdy6jSN0gCo7rHD4pIOkr5gqvX29UGlCrgqKCJxgAkQbPaUW1u nAjfmNEc+XphZcZr0H26eES6PdFLqis= 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 v2 2/7] mm: list_lru: deduplicate unlock_list_lru() Message-ID: References: <20260312205321.638053-1-hannes@cmpxchg.org> <20260312205321.638053-3-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: <20260312205321.638053-3-hannes@cmpxchg.org> X-Migadu-Flow: FLOW_OUT On Thu, Mar 12, 2026 at 04:51:50PM -0400, Johannes Weiner wrote: > The MEMCG and !MEMCG variants are the same. lock_list_lru() has the > same pattern when bailing. Consolidate into a common implementation. > > Signed-off-by: Johannes Weiner Acked-by: Shakeel Butt