Re: [PATCH v2 1/5] mm: Introduce zone_appears_fragmented()

Andi Shyti
2026-04-28T10:05:18Z

> > + if (zone_page_state(zone, NR_FREE_PAGES) > high_wmark_pages(zone) * 2)
> > + return true;
> > +
> > + return false;

P.S.: If you want, this can also be written:

return (zone_page_state(zone, NR_FREE_PAGES) > high_wmark_pages(zone) * 2);

> > +}