Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1471668

Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping
Date 2016-08-29 11:30 +0200
Message-ID <sbr3b-5vm-23@gated-at.bofh.it> (permalink)
References <sa8YG-5nC-19@gated-at.bofh.it> <sa8YG-5nC-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 25, 2016 at 8:21 AM, Dmitry Safonov <dsafonov@virtuozzo.com> wrote:
> I added here a new in-kernel fs with ramfs-like options.
> Created vdso file in this fs (yet for testing, only 64-bit vdso).
> Mapped this file to process's mm on setup_additional_pages.
> Just for testing purpose it's done only for specific UID.

I'm wondering whether all this code could be easily moved into the
core special mapping helpers so that all special mappings get the same
benefit.  We could embed a struct file * (or struct inode or whatever)
in special_mapping if needed.

Also, could this be simplified to use anon_inode?

(I'm not a VFS expert at all, so I could be way off base.)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Andy Lutomirski <luto@amacapital.net> - 2016-08-29 11:30 +0200
  Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Andy Lutomirski <luto@amacapital.net> - 2016-08-30 17:00 +0200
  Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-03 02:10 +0200

csiph-web