Skip to content

Was: Processes hang in an unkillable state

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1__mlock_vma_pages_range: stack_guard_page() case returns the wrong valuemm/mlock.c+12 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Was: Processes hang in an unkillable state

(add cc's)

Quoted 15 lines · Oleg Nesterov
Quoted 13 lines · Américo Wang

Hmm, it must be stuck at

lib/rwsem.c

        /* wait to be given the lock */
        for (;;) {
                if (!waiter.task)
                        break;
                schedule();
                set_task_state(tsk, TASK_UNINTERRUPTIBLE);
        }
Quoted 7 lines
Quoted 3 lines

don't know why it still can't acquire the ->mmap_sem...

Cc'ing Oleg...

I seem to understand...

Please wait a bit, I need to recheck.

Yes, mlock looks buggy. I'll report more info a bit later, but I think we need something like this patch.

Oleg.