From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.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 EDEB21E5702 for ; Thu, 16 Jul 2026 02:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784168432; cv=none; b=bIMnAL/7X872o0dRnk7WsPEhqOKlLaIzsZNKgUPzQxVFHqalkxm5F2KpR10/h+pCgptyNCVsUsJyhdrzBeVxCZ5p1G6prx5lWan5IFJpZSnYz47Ix1pNe5d6rJm86lsSq6PK27idt/i6nPNzal1K8EavodCtW7hCULnFLMHLJLE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784168432; c=relaxed/simple; bh=9x31DQloTTcDqkkLajkp1W+RRQGVx+w3q2B+D4BtC80=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZOB7SPT4AqKuTOIYM3jApAILbaPu0VgrD6IYPx3sWUxNtDkbl3uQUuqFNvsglkGkLfuSivsgLs8UkmPeVWsUAdmAfaNZATS+6SUrc/oJ4G9/35ZfLclyUyQv6jU56caJygbqMpBPve/3tqxcgkY5+1Flk/pB42NAbeD+y4AUkTY= 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=XJFjXOtu; arc=none smtp.client-ip=95.215.58.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="XJFjXOtu" Message-ID: <64be6bbf-4e9f-4cd9-bfd5-24ac06286f1c@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784168427; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ac7HRN+Zrg0m4L5nhssnYzpnRv8tiOpkPSbq9tln0dA=; b=XJFjXOtunpSgHQCaCPaZj4YS9rC6Kdlsnl5braXNAMBzOQODTl14Y2xR0xHLmtmUNmloqX wYG8QeBIdDmTqWQ8I7CxuIrFTAM+PW16wiZQhH5Bs+esq19eVKtj51vjOVIBTa9jqyJuBN 0nChjra0ZrRyNtp3Gc9yQSH6e2l9q3s= Date: Thu, 16 Jul 2026 10:20:14 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] mm: shmem: make unused huge shrinker memcg aware To: Andrew Morton , brauner@kernel.org Cc: hughd@google.com, baolin.wang@linux.alibaba.com, usama.arif@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Qi Zheng , Christian Brauner References: <20260714031918.308-1-qi.zheng@linux.dev> <20260714213223.9a03d78f4aba252c512e01b9@linux-foundation.org> <20260715124030.feb2d407e5e5ae28a39674a3@linux-foundation.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Qi Zheng In-Reply-To: <20260715124030.feb2d407e5e5ae28a39674a3@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 7/16/26 3:40 AM, Andrew Morton wrote: > On Wed, 15 Jul 2026 14:49:28 +0800 Qi Zheng wrote: > >>> >>>> This patch is based on next-20260701 because it doesn't include this patch: >>>> >>>> https://lore.kernel.org/all/20260609123047.1948242-1-usama.arif@linux.dev/ >>>> >>>> Later on, Usama will consider moving this restriction down into the fs callback. >>> >>> I'm not understanding. Was Usama's above patch ever included in >>> anything? >> >> It's included in linux-next, e.g. next-20260710. > > Oh, OK, it came in via Christian's vfs.git tree. > > 0baad6f9b997 ("fs/super: skip non-memcg-aware nr_cached_objects in memcg slab shrink") > > Should we be asking Christian to make some alteration here? I saw Usama posted an alternative (now at v2) and got Reviewed-bys: https://lore.kernel.org/all/20260715103516.2410175-1-usama.arif@linux.dev/ Hi Christian, do you have plans to merge this into the vfs.git tree recently? Thanks, Qi