Re: [PATCH v2] Respect mempolicy when calculating surplus huge pages.
From: chaithco
Date: Fri Jul 03 2026 - 12:47:12 EST
On Wed, Jun 24 2026 at 07:45:59 AM -07:00:00, Usama Arif <usama.arif@xxxxxxxxx> wrote:
> > +static void setup_threads(void) {
> > + per_thread_args = calloc(2, sizeof(per_thread_args));
>
> Should we do calloc(2, sizeof(*per_thread_args)) here?
Yes! My apologies; my intent is to allocate two thread_args here not allocate pointers. I can fix that up.