[PATCH] nptl: Don't madvise user provided stack

Florian Weimer fweimer@redhat.com
Wed Jun 24 11:05:38 GMT 2020


* Szabolcs Nagy:

> +  if (!pd->user_stack)
> +    advise_stack_range (pd->stackblock, pd->stackblock_size, (uintptr_t) pd,
> +			pd->guardsize);

Could we still use MADV_FREE?

But the patch as-is looks fine to me.

Thanks,
Florian



More information about the Libc-alpha mailing list