public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Created tunable to force small pages on stack allocation.
@ 2023-03-10 14:35 Cupertino Miranda
  2023-03-10 14:35 ` Cupertino Miranda
  0 siblings, 1 reply; 10+ messages in thread
From: Cupertino Miranda @ 2023-03-10 14:35 UTC (permalink / raw)
  To: libc-alpha; +Cc: jose.marchesi, elena.zannoni, adhemerval.zanella

Hi everyone,

This patch is the result of the following RFC:
https://sourceware.org/pipermail/libc-alpha/2023-March/146203.html

It introduces the tunable glibc.pthread.stack_hugetlb to control when
stack allocation should be allowed to be mapped in hugetls.
The purpose of this tunable is to allow better control on RSS for
applications/systems that rely on having hugepages enabled, for
performance reasons, but still wish to want to keep RSS to a minimal
when allocating lots of threads.

Looking forward to your comments and suggestions.

Best regards,
Cupertino



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [v2] Created tunable to force small pages on stack
@ 2023-03-20 15:41 Cupertino Miranda
  2023-03-20 15:41 ` [PATCH] Created tunable to force small pages on stack allocation Cupertino Miranda
  0 siblings, 1 reply; 10+ messages in thread
From: Cupertino Miranda @ 2023-03-20 15:41 UTC (permalink / raw)
  To: libc-alpha; +Cc: jose.marchesi, elena.zannoni

Hi everyone,

New version of the patch taking in considerations recent reviews.
Looking forward to your comments.

Regards,
Cupertino



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-20 15:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 14:35 [PATCH] Created tunable to force small pages on stack allocation Cupertino Miranda
2023-03-10 14:35 ` Cupertino Miranda
2023-03-13  7:54   ` Florian Weimer
2023-03-13 10:07     ` Cupertino Miranda
2023-03-13 17:10       ` Cupertino Miranda
2023-03-13 17:18         ` Cupertino Miranda
2023-03-13 17:15       ` Adhemerval Zanella Netto
2023-03-13 17:32         ` Cupertino Miranda
2023-03-13 17:17     ` Cupertino Miranda
2023-03-20 15:41 [v2] Created tunable to force small pages on stack Cupertino Miranda
2023-03-20 15:41 ` [PATCH] Created tunable to force small pages on stack allocation Cupertino Miranda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).