From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C1A03876D7 for ; Mon, 11 May 2026 12:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778502237; cv=none; b=YHcfmfK0ltkMjmmzov11DAYtMCGvE8pI1BGujyYz4rquK19uIPuzFV3X1gBNjZsFYavi3UnEBW/eA1RnGbr3cdp8yX4AxAZyX7RpVFMi8labFb/ojPLUESzVeNsl64PVx9N77uSAkcrqHzI8esd9GzXv8mRhf+BqGwuLLTA+8ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778502237; c=relaxed/simple; bh=EgE0sdKlba+XM6wFEdtpJvmden85mW0qSJMgLg0nsio=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NSAHBArmxyVlUlmWTRFJnDLOIjxKKDXQRDVB7PGb230j8z003JEyCMtlaPDTEdTlMUt85+6RLpLtKeQ9DBUdaCmyjGuF8D/BReHTV86GL4VECSXBUGNW8GrGaXSDWsWXh6MaMzJ5mndgXCceOxst2bYjmAK2PuHjKsBQ3ikhv4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=JXpkFcUP; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="JXpkFcUP" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-48e56c1bf5dso25876095e9.3 for ; Mon, 11 May 2026 05:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1778502233; x=1779107033; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SbDN36wYJgxGt3TTHtTOmeJ9TYm+E0HO25r62nJLJVw=; b=JXpkFcUP2vh5/ovR617Yt04j4r/mqeEXP+b/7JckpD4F2q/tYotAK/KoVoxtJof5+N 2uyfFQ6EUDnHZm5qssjzjhLqXqJqNioECe31AbFKTXnZSrgOLGSmBUW9irGZHfWmCwgK JG89eV3lbLW/b+J6o7XLqyhwROcupBNGQl98qUX7w73uYcHmXbPt9J0F4qDrCSd1GB+l YxNGdfSQElFVNH8VtYCcvRMjLM22T+yVQBvj65jUroa3jAPvuBZQZHhMETPVLubwvnSi 8RCUO3APwlbRlD2jZF1difWaUhLIl8GWTmB8jgyezHSv/wIdGQ7B2ktVFcxjhNjEXAnh 374A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778502233; x=1779107033; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SbDN36wYJgxGt3TTHtTOmeJ9TYm+E0HO25r62nJLJVw=; b=NiWwlEMnolfWoOACu/yxrRkvywzck9qqz3Z84z7OhlRuA9RGrcNKp8WrdvTatQBSqI qUUR/80NS/ILt6yQtqg+eRspASpaP9KOD0PIqVNor6iqUOXz5v1dmiA+3i/qKb2CHCK5 VrAD+f+Cc3KRBkuo5+krKF4QRNgiPJYrmtmqv/vOhRLo5CnyDMXzdn4RWsI9cQhU1P7Z Ns9koZDDaqn3V4F0kGurHd5eKM2+NzC7+iqr3LeEYOLwW1gand4OTrEHwl9KaJN1IE0M 2nN+SFstK/urPbgMK4cHPbF66w64zi6P0ebsYbh5F4mn4yw1TkLafSlp2vhdA7bARgyi AgvA== X-Forwarded-Encrypted: i=1; AFNElJ8IPQdbmDoV6LXvCvOVLr6kEY4gR5h25RzUTR+SikMax4ljxZvLmbPrShbyI8mjtTLKmNV5rLyvZ6OCbkM=@vger.kernel.org X-Gm-Message-State: AOJu0YyDCRabpgujddw+HyftvwnyF7Z4Ei4aVQUw+y61X1Dn/wivs/no fkZ0ceq6I0EjuGvL+f/FXEUjyUJmsYc0DF0nh98bUgakiOGcXQSoClgd5Hkx4WY55To= X-Gm-Gg: Acq92OEPMV0S25Z6E/LJtBth1Pooi4NwokYrUCftNAyMrQMcIVm1Jry34rRfI0ML7xv oCI07CWZUMD/LbL7mJG7npHOFdXO0PCnr7/cjwZj7c06OSdX9BjvxJQbaPOXmjSYa4f90HekRfT +4bb6bNw+bMzDqG8W+iIs/lz52em0fY0jgTuM+qRWt5olFyTE6Z0z9HeMEIk2HLW3hx2jKyJ7G1 LfPo2F0vUP53FpG7NHSs1op4DqYZ6Nfliwtrh/cKVrvV6sEK3PsmEMJlHsVn2zMbXRAQHFoJSY9 3dW/ne2UGeYvuCbRRaDcQ0OI3xduar/89Hal4mkFwsB1EApmUiGM3NC8xxzjkgdR1VjhTC8eIu0 i69uAeEImHonFFPSWiKy7Tw4qZ6G0G4nVlyGCItZFs5B0amyYEhppkvx8b/xEFOhbalPfVO7Z3o vk18HZVQXQQ1ZqNuAGoOOTx7biuetBGmHko43W X-Received: by 2002:a05:600c:19c8:b0:489:1c2d:211e with SMTP id 5b1f17b1804b1-48e70687ed2mr158853185e9.5.1778502233329; Mon, 11 May 2026 05:23:53 -0700 (PDT) Received: from localhost (109-81-87-110.rct.o2.cz. [109.81.87.110]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e6d8946a5sm107220655e9.0.2026.05.11.05.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 05:23:53 -0700 (PDT) Date: Mon, 11 May 2026 14:23:52 +0200 From: Michal Hocko To: Zhen Ni Cc: akpm@linux-foundation.org, vbabka@kernel.org, surenb@google.com, jackmanb@google.com, hannes@cmpxchg.org, ziy@nvidia.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/3] mm/page_owner: add filter infrastructure for print_mode and NUMA filtering Message-ID: References: <20260511033017.747781-1-zhen.ni@easystack.cn> 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: <20260511033017.747781-1-zhen.ni@easystack.cn> On Mon 11-05-26 11:30:14, Zhen Ni wrote: > Solution > ======== > > This patch series introduces a flexible filter infrastructure with > two initial filters: > > 1. **Print Mode Filter**: Outputs only stack handles instead of > full stack traces. The handle-to-stack mapping can be retrieved > from the existing show_stacks_handles interface. This dramatically > reduces output size while preserving all allocation metadata. > > 2. **NUMA Node Filter**: Allows filtering pages by specific NUMA node(s) > using flexible nodelist format, enabling targeted analysis of memory > issues in NUMA-aware deployments. How does this work when there are multiple consumers of the interface? E.g per numa tool to watch node lock page_owner information? -- Michal Hocko SUSE Labs