lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

\
 
 \ /
  Last update: 2017-11-28 22:54    [W:0.060 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site