[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:
2.6.28-rc5: Reported regressions 2.6.26 -&gt; 2.6.27, Rafael J. Wysocki, (Sun Nov 16, 10:38 am)
[Bug #11207] VolanoMark regression with 2.6.27-rc1, Rafael J. Wysocki, (Sun Nov 16, 10:38 am)
[Bug #11308] tbench regression on each kernel release from ..., Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11215] INFO: possible recursive locking detected ps2 ..., Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11698] 2.6.27-rc7, freezes with &amp;gt; 1 s2ram cycle, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11664] acpi errors and random freeze on sony vaio sr, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11569] Panic stop CPUs regression, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11543] kernel panic: softlockup in tick_periodic() ???, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11404] BUG: in 2.6.23-rc3-git7 in do_cciss_intr, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11805] mounting XFS produces a segfault, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11795] ks959-sir dongle no longer works under 2.6.27 ..., Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11836] Scheduler on C2D CPU and latest 2.6.27 kernel, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11843] usb hdd problems with 2.6.27.2, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11865] WOL for E100 Doesn't Work Anymore, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11876] RCU hang on cpu re-hotplug with 2.6.27rc8, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11886] without serial console system doesn't poweroff, Rafael J. Wysocki, (Sun Nov 16, 10:40 am)
[Bug #11983] iwlagn: wrong command queue 31, command id 0x0, Rafael J. Wysocki, (Sun Nov 16, 10:41 am)
[Bug #12039] Regression: USB/DVB 2.6.26.8 --&amp;gt; 2.6.27.6, Rafael J. Wysocki, (Sun Nov 16, 10:41 am)
[Bug #12048] Regression in bonding between 2.6.26.8 and 2. ..., Rafael J. Wysocki, (Sun Nov 16, 10:41 am)
Re: [Bug #11843] usb hdd problems with 2.6.27.2, Luciano Rocha, (Sun Nov 16, 2:37 pm)
Re: [Bug #11805] mounting XFS produces a segfault, Christoph Hellwig, (Mon Nov 17, 7:44 am)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Wed Nov 19, 12:43 pm)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Thu Nov 20, 4:52 pm)
Re: [PATCH] fs: pipe/sockets/anon dentries should not have ..., Christoph Hellwig, (Fri Nov 21, 8:36 am)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Fri Nov 21, 9:11 am)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Fri Nov 21, 11:06 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)