lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171128135316.6d7bba7fe909ba3d90e318db@linux-foundation.org>
Date:   Tue, 28 Nov 2017 13:53:16 -0800
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Giuseppe Scrivano <gscrivan@...hat.com>
Cc:     linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
        mingo@...nel.org, dave@...olabs.net
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@...hat.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?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ