Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote: > +static inline __must_check void *folio_map_local(struct folio *folio) > +{ > + might_alloc(GFP_KERNEL); > + > + if (!IS_ENABLED(CONFIG_HIGHMEM)) > + return folio_address(folio); Can you make the might_alloc() contingent on CONFIG_HIGHMEM=y? David