From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m127101.qiye.163.com (mail-m127101.qiye.163.com [115.236.127.101]) (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 DF5C73DCD97 for ; Fri, 26 Jun 2026 08:36:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.236.127.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782462976; cv=none; b=Lanhe/RVHxLFb3scLKMkUFmHaSyuDDDhO1q1U0l6CANhywxnfFMMSf99lDhLrnGXq+dtmzYlWVUdBRa2U0UQFXWrGzJ45dW6HLO2FGLegQmPpcQHK5/WUGQGfDMwkTBDLLL5hg5UUNrajDdmQq56KvLgj7dWDA3L1/LRDYq7qck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782462976; c=relaxed/simple; bh=RSSbIMAJprQ5Tp6DaFnoAYinMmUnxPQAX5LawYutPmY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Rr38REsF868eA+cZ3rvpZOudGYlFZPtB2gk66YKGg62Vr5MeXVw31I1FTFG2sU4Ho3ZZrzdLmQbCrUofeuQbWyXSmyfdrmSHRKNb+gXA0JrCO7fw7jiNtQ0iYmEYHp5DVlDpe234aZEpQsuy1djYzLAN608I49o+TvqavfogBr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=easystack.cn; spf=pass smtp.mailfrom=easystack.cn; arc=none smtp.client-ip=115.236.127.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=easystack.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=easystack.cn Received: from [192.168.0.59] (unknown [218.94.118.90]) by smtp.qiye.163.com (Hmail) with ESMTP id 1bef758d8; Fri, 26 Jun 2026 16:20:44 +0800 (GMT+08:00) Message-ID: <4944753a-da93-4f7a-8f22-81bf41cd171a@easystack.cn> Date: Fri, 26 Jun 2026 16:20:43 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 2/4] mm/page_owner: add NUMA node filter To: Zi Yan , akpm@linux-foundation.org, vbabka@kernel.org Cc: surenb@google.com, mhocko@suse.com, jackmanb@google.com, hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20260625043101.338794-1-zhen.ni@easystack.cn> <20260625043101.338794-3-zhen.ni@easystack.cn> From: "zhen.ni" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Tid: 0a9f030458870229kunm4cb2cc3bf23d9 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFJQjdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkZGRkeVhlDGk0YSRlMGkJLTlYVFA kWGhdVGRETFhoSFyQUDg9ZV1kYEgtZQVlJSkNVQk9VSkpDVUJLWVdZFhoPEhUdFFlBWU9LSFVKS0 lPT09IVUpLS1VKQktLWQY+ 在 2026/6/26 02:37, Zi Yan 写道: >> + nid = memdesc_nid(page_flags); >> + if (!node_isset(nid, state->nid_filter)) { >> + spin_unlock_irqrestore(&state->lock, flags); >> + goto ext_put_continue; >> + } >> + } >> + spin_unlock_irqrestore(&state->lock, flags); >> + >> /* Record the next PFN to read in the file offset */ >> *ppos = pfn + 1; >> >> @@ -783,6 +807,7 @@ read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) >> &page_owner_tmp, handle, state); >> ext_put_continue: >> page_ext_put(page_ext); >> + cond_resched(); > In the changelog above, cond_resched() is said to be removed in V10. Did > you miss this? Or it is intended. > Sorry. This is a changelog error in v10. The v10 changelog wording is misleading. It should say: "Remove need_resched() check, call cond_resched() unconditionally" > Otherwise, LGTM. > > Acked-by: Zi Yan