Re: [PATCH 0/9] [v3] x86, pkeys: two protection keys bug fixes

From: Ingo Molnar
Date: Sat Apr 28 2018 - 04:29:15 EST

* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> The hang problem is still there, if I run a script like this:
> while :; do date; echo -n "32-bit: "; ./protection_keys_32 >/dev/null; date; echo -n "64-bit: "; ./protection_keys_64 >/dev/null; done
> then within a minute one of the testcases hangs reliably.
> Out of 4 attempts so far one hang was in the 32-bit testcase, 3 hangs were in the
> 64-bit testcase - so 64-bit appears to trigger it more frequently.

Note that even with all fixes in this series applied the self-test hang still