mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Kees Cook <keescook@chromium.org>,
	Linux-MIPS <linux-mips@linux-mips.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: MIPS: hang in kmalloc with seccomp writer locks
Date: Mon, 11 Aug 2014 04:49:40 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1408110448470.15519@chino.kir.corp.google.com> (raw)
In-Reply-To: <CAOLZvyFuDqi4+pEae=n7+ZJoAx-vca-pRS8ZAQqvTk-tSyPiwg@mail.gmail.com>

On Mon, 11 Aug 2014, 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.
> 

Does enabling CONFIG_DEBUG_SPINLOCK fix the issue?

  reply	other threads:[~2014-08-11 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 11:35 Manuel Lauss
2014-08-11 11:49 ` David Rientjes [this message]
2014-08-11 12:02   ` Manuel Lauss
2014-08-11 15:11 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1408110448470.15519@chino.kir.corp.google.com \
    --to=rientjes@google.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®