[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFuomf97EUK2YJDJ@localhost.localdomain>
Date: Wed, 25 Jun 2025 09:43:21 +0200
From: Oscar Salvador <osalvador@...e.de>
To: David Hildenbrand <david@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Muchun Song <muchun.song@...ux.dev>, Peter Xu <peterx@...hat.com>,
Gavin Guo <gavinguo@...lia.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] mm,hugetlb: Rename anon_rmap to new_anon_folio
and make it boolean
On Mon, Jun 23, 2025 at 04:13:17PM +0200, David Hildenbrand wrote:
> > - if (new_folio && !new_pagecache_folio)
> > + /* We only need to restore reservations for private mappings */
> > + if (new_folio && new_anon_folio)
>
> Could this be simplified to
>
> if (new_anon_folio) {
Yes, definitely, will do in the next version.
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists