[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <492DDC91.3020503@cosmosbay.com>
Date: Thu, 27 Nov 2008 00:32:33 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Ingo Molnar <mingo@...e.hu>
CC: David Miller <davem@...emloft.net>,
"Rafael J. Wysocki" <rjw@...k.pl>, linux-kernel@...r.kernel.org,
kernel-testers@...r.kernel.org, Mike Galbraith <efault@....de>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Linux Netdev List <netdev@...r.kernel.org>,
Christoph Lameter <cl@...ux-foundation.org>,
Christoph Hellwig <hch@...radead.org>
Subject: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
Avoids cache line ping pongs between cpus and prepare next patch,
because updates of nr_inodes metric dont need inode_lock anymore.
(socket8 bench result : 25s to 20.5s)
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
---
fs/fs-writeback.c | 2 -
fs/inode.c | 51 +++++++++++++++++++++++++++++++++++-------
include/linux/fs.h | 3 ++
kernel/sysctl.c | 4 +--
mm/page-writeback.c | 2 -
5 files changed, 50 insertions(+), 12 deletions(-)
View attachment "per_cpu_nr_inodes.patch" of type "text/plain" (5706 bytes)
Powered by blists - more mailing lists