This patch fixes a subtle bug found when working on lazy stack changes
and trying to establish some invariants in relevant places in the kernel code.
One of the findings was that the memory allocation logic or more
specifically the functions malloc() and free() require both interrupts and
preemptio
This subtle 1-character patch fixes a nasty bug that causes interrupts
to be enabled instead of correctly restored to the state it was when
saving the state. This bug would affect the tracing logic and result in
crashes described by the issues #1158 and #1195.
This bug in inline assembly was most
From: Nadav Har'El
Committer: Waldemar Kozaczuk
Branch: master
pthread_create() - prefault top of stack
This is the original patch from Jan 11, 2021 applied manually
to resolve conflicts caused by subsequent changes to the relevant
files since.
Waldemar Kozaczuk