lkml.org 
[lkml]   [2018]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/9] [v3] x86, pkeys: two protection keys bug fixes

    * Ingo Molnar <mingo@kernel.org> wrote:

    > After I got the GDB backtraces I tried to clean up leftover tasks, but the main
    > thread would not go away:
    >
    > 4006 pts/0 00:00:00 protection_keys <defunct>
    >
    > neither SIGCONT nor SIGKILL appears to help:

    Just seconds after I sent this I found out that this was user error: I forgot
    about a gdb session I still had running, which understandably blocked the task
    from being cleaned up. Once I exited GDB it all got cleaned up properly.

    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.

    Thanks,

    Ingo

    \
     
     \ /
      Last update: 2018-04-28 09:16    [W:4.702 / U:0.516 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site