[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <efca16f2-8c83-9605-56b2-4a80af0753fc@zytor.com>
Date: Tue, 20 Sep 2016 17:32:54 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Dmitry Safonov <0x7f454c46@...il.com>
Cc: Dmitry Safonov <dsafonov@...tuozzo.com>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Andy Lutomirski <luto@...capital.net>,
Thomas Gleixner <tglx@...utronix.de>, X86 ML <x86@...nel.org>,
Oleg Nesterov <oleg@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>, viro@...iv.linux.org.uk
Subject: Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs)
On 09/20/16 17:22, H. Peter Anvin wrote:
> The more I'm thinking about this, why don't we simply have these (the
> various possible vdsos as well as vvar) as actual files in sysfs instead
> of introducing a new filesystem? I don't believe sysfs actually has to
> be mounted in order for sysfs files to have an inode.
>
> It could also be in procfs, I guess, but sysfs probably makes more sense.
>
> I'm thinking something like:
>
> /sys/kernel/vdso/{i386,x86_64,x32,vvar}
>
> Not only would this let the container people and so on do weird things
> much easier, but it ought to eliminate a whole slew of special cases.
>
Even crazier idea: instead of a separate vvar file, have the vvar page
just be a part of these files (as a shared page)... I'm wondering if we
can even use load_elf_interp() since after all it is an ELF shared
library image...
-hpa
Powered by blists - more mailing lists