archive mirror
 help / color / mirror / Atom feed
From: David Howells <>
To: Andrei Vagin <>
Cc:, linux-fsdevel <>
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: <> (raw)
In-Reply-To: <>

Andrei Vagin <> 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.


      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:

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

  git send-email \ \ \ \ \
    --subject='Re: [dhowells/mount-api] general protection fault in mqueue_get_tree' \

* 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).