Re: MIPS: hang in kmalloc with seccomp writer locks
From: Guenter Roeck
Date: Mon Aug 11 2014 - 11:12:04 EST
On Mon, Aug 11, 2014 at 01:35:28PM +0200, Manuel Lauss wrote:
> Hi Kees,
>
> My MIPS32 toys hang early during bootup at the first kmalloc() with
> seccomp enabled.
> I've bisected it to commit dbd952127d11bb44a4ea30b08cc60531b6a23d71
> ("seccomp: introduce writer locking"). And indeed, reverting this
> commit fixes the hang.
>
> I'm not sure if seccomp is even working on MIPS, but I've never had
> problems with
> it before so I thought I let you know.
>
Also see [1] and [2], the latter providing a patch to fix the problem.
The problem is only seen in unicore systems with lock debugging disabled.
Guenter
---
[1] https://lkml.org/lkml/2014/8/9/163
[2] https://lkml.org/lkml/2014/8/10/184
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/