[PATCH 6/6] fs: Introduce kern_mount_special() to mount special vfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, November 26, 2008 - 4:32 pm

This function arms a flag (MNT_SPECIAL) on the vfs, to avoid
refcounting on permanent system vfs.
Use this function for sockets, pipes, anonymous fds.

(socket8 bench result : from 2.94s to 2.23s)

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
---
 fs/anon_inodes.c      |    2 +-
 fs/pipe.c             |    2 +-
 fs/super.c            |    9 +++++++++
 include/linux/fs.h    |    1 +
 include/linux/mount.h |    5 +++--
 net/socket.c          |    2 +-
 6 files changed, 16 insertions(+), 5 deletions(-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fs: pipe/sockets/anon dentries should not have ..., Christoph Hellwig, (Fri Nov 21, 8:36 am)
[PATCH 1/6] fs: Introduce a per_cpu nr_dentry, Eric Dumazet, (Wed Nov 26, 4:30 pm)
[PATCH 3/6] fs: Introduce a per_cpu last_ino allocator, Eric Dumazet, (Wed Nov 26, 4:32 pm)
[PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Eric Dumazet, (Wed Nov 26, 4:32 pm)
[PATCH 5/6] fs: Introduce special inodes, Eric Dumazet, (Wed Nov 26, 4:32 pm)
[PATCH 6/6] fs: Introduce kern_mount_special() to mount sp ..., Eric Dumazet, (Wed Nov 26, 4:32 pm)
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocatio ..., Christoph Lameter, (Wed Nov 26, 6:37 pm)
Re: [PATCH 5/6] fs: Introduce special inodes, David Miller, (Thu Nov 27, 1:20 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Peter Zijlstra, (Thu Nov 27, 2:32 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Peter Zijlstra, (Thu Nov 27, 2:39 am)
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocatio ..., Christoph Hellwig, (Thu Nov 27, 2:39 am)
Re: [PATCH 1/6] fs: Introduce a per_cpu nr_dentry, Christoph Hellwig, (Thu Nov 27, 2:41 am)
Re: [PATCH 3/6] fs: Introduce a per_cpu last_ino allocator, Christoph Hellwig, (Thu Nov 27, 2:46 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Christoph Hellwig, (Thu Nov 27, 2:48 am)
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to moun ..., Christoph Hellwig, (Thu Nov 27, 2:53 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Eric Dumazet, (Thu Nov 27, 3:01 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Andi Kleen, (Thu Nov 27, 3:07 am)
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to moun ..., Christoph Hellwig, (Thu Nov 27, 3:10 am)
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocatio ..., Christoph Lameter, (Thu Nov 27, 7:44 am)
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes, Christoph Lameter, (Thu Nov 27, 7:46 am)
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocatio ..., Christoph Hellwig, (Fri Nov 28, 11:38 pm)
[PATCH v2 5/5] fs: new_inode_single() and iput_single(), Eric Dumazet, (Sat Nov 29, 1:45 am)
[PATCH v3 5/7] fs: new_inode_single() and iput_single(), Eric Dumazet, (Thu Dec 11, 3:40 pm)
[PATCH v3 7/7] fs: MS_NOREFCOUNT, Eric Dumazet, (Thu Dec 11, 3:41 pm)
Re: [PATCH v3 6/7] fs: struct file move from call_rcu() to ..., Christoph Lameter, (Fri Dec 12, 6:41 pm)
Re: [PATCH v3 6/7] fs: struct file move from call_rcu() to ..., Christoph Lameter, (Fri Dec 12, 7:07 pm)
Re: [PATCH v3 3/7] fs: Introduce a per_cpu last_ino allocator, Paul E. McKenney, (Tue Dec 16, 2:26 pm)
Re: [PATCH v3 5/7] fs: new_inode_single() and iput_single(), Paul E. McKenney, (Tue Dec 16, 2:41 pm)