[RFC] Stack allocation, hugepages and RSS implications

Cristian Rodríguez crrodriguez@opensuse.org
Wed Mar 8 14:53:46 GMT 2023


On Wed, Mar 8, 2023 at 11:17 AM Cupertino Miranda via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
>
> Hi everyone,

> In any case, I wonder if there is an actual use case where an hugepage would
> survive glibc stack allocation and will bring an actual benefit.
>
> Looking forward for your comments.

I think you could just post a patch to disable hugepages for this allocation.
Are you sure this is the only case though ? There are probably several
cases where using hugepages is non-optimal.


More information about the Libc-alpha mailing list