Re: [patch 1/9] signalfd/timerfd v1 - anonymoush inode source ...

From: Davide Libenzi
Date: Fri Mar 09 2007 - 19:18:44 EST


On Sat, 10 Mar 2007, Jan Engelhardt wrote:

>
> On Mar 9 2007 15:39, Davide Libenzi wrote:
> >
> >This patch add an anonymous inode source, to be used for files that need
> >and inode only in order to create a file*. We do not care of having an
> >inode for each file, and we do not even care of having different names in
> >the associated dentries (dentry names will be same for classes of file*).
> >This allow code reuse, and will be used by epoll, signalfd and timerfd
> >(and whatever else there'll be).
>
> Perhaps procfs?

But procfs needs real inodes and dentries. The reason of the anonymous
inode source patch, is to 1) avoid code duplication (setup code is
basically identical for all those file types) 2) save memory for inodes in
all those pseudo-files like epoll, signalfd, timerfd, ...



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/