[ruby-core:88749] Re: [Ruby trunk Misc#15007] Let all Init_xxx and extension APIs frequently called from init code paths be considered cold

From: Eric Wong <normalperson@...>
Date: 2018-08-30 10:46:08 UTC
List: ruby-core #88749
[email protected] wrote:
> * `MADV_HUGEPAGE` - fallback option, implicit request, kernel
> will map it implicit if not aligned to hugepage boundary, or
> right away if aligned to hugepage boundary (I implemented with
> the 2MB alignment for my system). Requires a kernel compiled
> with THP support (most are) and THP enabled (likewise)

Crap, I think that conflicts with the usage of
PR_SET_THP_DISABLE (for CoW-friendliness) since r63253 in trunk.
MAP_HUGETLB will still work, though.

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next