linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Andrei Vagin <avagin@gmail.com>
Cc: dhowells@redhat.com, linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: [dhowells/mount-api] general protection fault in mqueue_get_tree
Date: Tue, 11 Sep 2018 22:00:41 +0100	[thread overview]
Message-ID: <2578.1536699641@warthog.procyon.org.uk> (raw)
In-Reply-To: <CANaxB-yqypZ50XoLL2mP1U_nDprqqBt1cbg_jSNDw7bjgr3mXw@mail.gmail.com>

Andrei Vagin <avagin@gmail.com> wrote:

> The ipc_namespace structure is big, so I am not sure about kzalloc().
> ns->mq_mnt can be initialized in mq_init_ns, it looks better than my
> previous patch.

I sincerely hope that ipc_namespace creation isn't a particularly hot path, so
I wouldn't've thought that preclearing the struct (which is nearly 2K in my
build) shouldn't add too much overhead.

David

      parent reply	other threads:[~2018-09-12  2:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 22:43 Andrei Vagin
2018-09-11 20:20 ` David Howells
2018-09-11 20:27   ` Andrei Vagin
2018-09-11 21:00   ` David Howells [this message]

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=2578.1536699641@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=avagin@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --subject='Re: [dhowells/mount-api] general protection fault in mqueue_get_tree' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).