[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160903001301.GZ2356@ZenIV.linux.org.uk>
Date: Sat, 3 Sep 2016 01:13:01 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Dmitry Safonov <dsafonov@...tuozzo.com>,
linux-kernel@...r.kernel.org, mingo@...hat.com,
luto@...capital.net, tglx@...utronix.de, hpa@...or.com,
x86@...nel.org, 0x7f454c46@...il.com, rostedt@...dmis.org
Subject: Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping
On Tue, Aug 30, 2016 at 04:33:12PM +0200, Oleg Nesterov wrote:
> > + inode = ramfs_get_inode(sb, NULL, S_IFREG | S_IRUGO | S_IXUGO, 0);
> Not sure... I think alloc_anon_inode() makes more sense.
Compared to this, you mean? It's going to give you the wrong
permissions/i_op/a_ops, and you'll have to assign them manually. ramfs
already gives the right ones for what's wanted, AFAICS.
Powered by blists - more mailing lists