Messages in this thread | | | Date | Tue, 28 Nov 2017 13:53:16 -0800 | From | Andrew Morton <> | Subject | Re: [RFC PATCH] ipc, mqueue: lazy call kern_mount_data in new namespaces |
| |
On Mon, 27 Nov 2017 13:55:50 +0100 Giuseppe Scrivano <gscrivan@redhat.com> wrote:
> kern_mount_data is a relatively expensive operation when creating a > new IPC namespace, so delay the mount until its first usage when not > creating the the global namespace. > > On my machine, the time for creating 1000 new IPC namespaces dropped > from ~8s to ~2s.
OK, but this simply moves the expense so it happens later on. Why is that better?
| |