From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 27EC73812F0 for ; Fri, 7 Aug 2026 21:59:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786139966; cv=none; b=EEzdGYRgoby3SQwYORYZxPKe0dWP9CqHh1MMjh+zPmd+10c1hyL60fOhnvXj+A6JzWN4mvOR0RnU2eaDUW8EhB6U1AiRtSWulMqzOslEiGRV1qKrHu8ohf+loJEF+q6rojJSLeKx3p7JY718T/RqIVgjwMHQjQFaqpkvlw3fkA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786139966; c=relaxed/simple; bh=pQAGlpq4PwluE14ZmALD+4IE2QcBWJ5tWH8aShHgr3o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TxKxeB1UaPTcFRaDKkJsNU6hYcZmLkEtMtXQ7BZ1k+Y8ZVMnpzfJ4MHjxpVsZ6wDh7W9iOZZXIMZ5c0ejS8h5YfjzWUAxXT8slK3zzYrtqqg3h1sYqbHv3YgVweK7VWsvnALJzHa1w/D1aW5P5V/LLbFyhDXdshWQ2mKAGSbgRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Qd1huAJg; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Qd1huAJg" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sdVOFuwDYAK6n59S3MJdqkPXQEejr/e0uJr3YI3UHF8=; b=Qd1huAJgq+y6tWJWIkwng5bFa0 gJ/gLRc2Vn83n3w5bWzzz4IwJVPMLKtJSPSGgPKA3fReEL/671FLEbozEKlZeq0tiSwTtGIORkDAO Pt2ttl0Li9xhLWRElZtEKb6fzS25cmKkJzXgw6Cksf0bU1S9BvIMZ9y5WBmZXV7MqtFWVUDf1e5uq OypCJMtGYfKibkYndqnci9lpCuN0Vwdz0YfwJTqN7dEWEf6VQgz7Xv+ysjIRyMvwdvKhG9HNtigE8 /npCPNbjJ+wfOGvLg8Gn424rBIaMOrzBDlS2WDDqcv9srp0/B0r61HGquG9s3k69bDosdMU96FSBI xY+wo6Fg==; Received: from willy by casper.infradead.org with local (Exim 4.99.1 #2 (Red Hat Linux)) id 1wsPc8-0000000DLLs-2nyS; Fri, 07 Aug 2026 18:48:16 +0000 Date: Fri, 7 Aug 2026 19:48:16 +0100 From: Matthew Wilcox To: Tal Zussman Cc: Andrew Morton , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Youngjun Park , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Christoph Hellwig , Johannes Weiner , Yosry Ahmed , Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/6] mm: remove PageReclaim Message-ID: References: <20260806-b4-page_io-folios-v1-0-0899bac3b826@columbia.edu> <20260806-b4-page_io-folios-v1-2-0899bac3b826@columbia.edu> 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: <20260806-b4-page_io-folios-v1-2-0899bac3b826@columbia.edu> On Thu, Aug 06, 2026 at 06:55:34PM -0400, Tal Zussman wrote: > This flag is now only used on folios, so we can remove all the page > accessors. And we don't use folio_test_clear_reclaim() at all (it's mentioned in a comment, but that's it), so we can drop that line entirely. > -PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) > - TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) > +FOLIO_FLAG(reclaim, FOLIO_HEAD_PAGE) > + FOLIO_TEST_CLEAR_FLAG(reclaim, FOLIO_HEAD_PAGE) With that last line removed, Reviewed-by: Matthew Wilcox (Oracle)