summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-03-20 19:51:06 +0100
committerEric W. Biederman <ebiederm@xmission.com>2018-03-21 15:40:17 +0100
commitdd206bec9a446884805370b1c16c1d7a97036777 (patch)
treeeaacdddc5f008401906b962ff1feb4a9cace9bfc /drivers/message
parentLinux 4.16-rc2 (diff)
downloadlinux-dd206bec9a446884805370b1c16c1d7a97036777.tar.xz
linux-dd206bec9a446884805370b1c16c1d7a97036777.zip
pidns: simpler allocation of pid_* caches
Those pid_* caches are created on demand when a process advances to the new level of pid namespace. Which means pointers are stable, write only and thus can be packed into an array instead of spreading them over and using lists(!) to find them. Both first and subsequent clone/unshare(CLONE_NEWPID) become faster. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions