[lkml]   [2021]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH RFC] mm/madvise: introduce MADV_POPULATE to prefault/prealloc memory
> Sorry, for jumping in late ... hugetlb keyword just hit my mail filters :)

Sorry for not realizing to cc you before I sent out the man page update :)

> Yes, it is true that hugetlb reservations are not numa aware. So, even if
> pages are reserved at mmap time one could still SIGBUS if a fault is
> restricted to a node with insufficient pages.
> I looked into this some years ago, and there really is not a good way to
> make hugetlb reservations numa aware. preallocation, or on demand
> populating as proposed here is a way around the issue.

Thanks for confirming, this makes a lot of sense to me now.


David / dhildenb

 \ /
  Last update: 2021-02-20 10:04    [W:0.080 / U:7.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site