From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 8CF8237AA79 for ; Mon, 29 Jun 2026 04:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782708076; cv=none; b=VgiBiMWCOW0UQ1qu3pJ1Rh8q5TRsdfxc/pJJj0pSz0b9pixBTn+tEpUflxNeT97ByHuMqwTJcbbr7DftgRv0DYwBH25JjgglBvDknNpyNP/L4O/WxRIdaxFxwL4dyQT53Aa6Qyfi+ucgrXcNTMkk5rSsjYqp+AX9DJKS2AdwbYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782708076; c=relaxed/simple; bh=MXaPLsvPeIz3mD1TGcjjnFyARD17PlYH/alYMlVdUZ8=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=VSzLE7Ovy6y7KNcXJbO2MNigUUyXo+TF0if1jmNf3vVDuDSNJeJxWWBKQkHu2wzMad+TOnD1mH172iR2LyW68xOmFIPuoucanRXzZ1fiJKVgBOxX1Z0BwygqgABkRGZ+2MqOmuBrawvVDwS0xbXx9P8+BWdeIvs/5D0GI/gl+6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=D8rJWCES; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="D8rJWCES" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0950C1F000E9; Mon, 29 Jun 2026 04:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1782708075; bh=9xMHJpueAbVzKNgvxgPJDwFoivtuInCfdlWopSA/I5c=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=D8rJWCESvqST7sTQ4il+ivHjwS4HUxSOcPMfAE/f0i+1hnkjXGA7x60QziGDqVZv7 Gn0ngbRYnInjWhzdvUP6scb0RsQKaj9orbEHviRfJPI4LShTtsxypLQaXEpkMb6i0e KJmbkvU+aY4+ypK2dSFlh9v4xw5GFPLAklaqxvCg= Date: Sun, 28 Jun 2026 21:41:14 -0700 From: Andrew Morton To: Yichong Chen Cc: vishal.moola@gmail.com, ye.liu@linux.dev, zhen.ni@easystack.cn, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/3] tools/mm/page_owner_sort: fix filtering and cleanup issues Message-Id: <20260628214114.2ffe4c4ce7ce1ffa0e3338f2@linux-foundation.org> In-Reply-To: <20260629014316.130307-1-chenyichong@uniontech.com> References: <20260629014316.130307-1-chenyichong@uniontech.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Mon, 29 Jun 2026 09:43:13 +0800 Yichong Chen wrote: > Resend the page_owner_sort cleanup series with corrected threading. > > This version replaces the single patch currently queued in mm-new by > splitting the cleanup into smaller patches and adding the search_pattern() > bounds fix. > > Patch 1 renames is_need() to filter_record() and makes the filter path > return explicit results. Patch 2 fixes the per-record allocation leaks. > Patch 3 bounds search_pattern() output copies, addressing the pre-existing > issue reported by Sashiko/AI review. Thanks, I'll add this for testing and further review. It looks like AI review found a minorish issue: https://sashiko.dev/#/patchset/20260629014316.130307-1-chenyichong@uniontech.com