Sorry forgot one thing. On Fri 22-01-21 11:52:27, Mike Kravetz wrote: > + * HPG_restore_reserve - Set when a hugetlb page consumes a reservation at > + * allocation time. Cleared when page is fully instantiated. Free > + * routine checks flag to restore a reservation on error paths.
Can we document that the pool is stored in head+1->private here please?
> + */
> +enum hugetlb_page_flags {
> + HPG_restore_reserve = 0,
> + __NR_HPAGEFLAGS,
> +};
--
Michal Hocko
SUSE Labs

