login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
1
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <clameter@...>
Cc: <akpm@...>, <linux-arch@...>, <linux-kernel@...>, <mathieu.desnoyers@...>, <penberg@...>
Subject:
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead
Date: Thursday, November 1, 2007 - 5:14 am
From: David Miller <davem@davemloft.net> Date: Thu, 01 Nov 2007 00:01:18 -0700 (PDT)
quoted text
> From: Christoph Lameter <clameter@sgi.com> > Date: Wed, 31 Oct 2007 21:16:59 -0700 (PDT) > > > Index: linux-2.6/mm/allocpercpu.c > > =================================================================== > > --- linux-2.6.orig/mm/allocpercpu.c 2007-10-31 20:53:16.565486654 -0700 > > +++ linux-2.6/mm/allocpercpu.c 2007-10-31 21:00:27.553486484 -0700 > ... > > @@ -37,7 +42,7 @@ enum unit_type { FREE, END, USED }; > > > > static u8 cpu_alloc_map[UNITS_PER_CPU] = { 1, }; > > static DEFINE_SPINLOCK(cpu_alloc_map_lock); > > -static DEFINE_PER_CPU(int, cpu_area)[UNITS_PER_CPU]; > > +static DEFINE_PER_CPU(unsigned long long, cpu_area)[UNITS_PER_CPU]; > > > > #define CPU_DATA_OFFSET ((unsigned long)&per_cpu__cpu_area) > > > > This hunk helped the sparc64 looping OOPS I was getting, but cpus hang > in some other fashion soon afterwards.
And if I bump PER_CPU_ALLOC_SIZE up to 128K it seems to mostly work. You'll definitely need to make this work dynamically somehow. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cp...
, Christoph Lameter
, (Wed Oct 31, 8:02 pm)
[PATCH 1/7] One less parameter to __d_path
, Jan Blunck
, (Mon Oct 29, 8:41 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Eric Dumazet
, (Thu Nov 1, 3:17 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 8:57 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 5:28 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 6:11 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 6:14 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 6:16 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 3:57 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 9:01 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 5:25 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 8:24 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 8:26 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 8:27 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 8:31 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 8:51 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 8:53 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 9:00 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 9:01 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 9:09 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 9:12 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Wed Oct 31, 9:13 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 12:16 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 3:01 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 5:14 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 9:03 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 5:29 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 6:15 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 6:38 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 6:48 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Eric Dumazet
, (Thu Nov 1, 7:00 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 9:40 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 8:58 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 6:58 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Herbert Xu
, (Mon Nov 12, 6:52 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Mon Nov 12, 5:28 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Mon Nov 12, 3:14 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Eric Dumazet
, (Mon Nov 12, 3:48 pm)
RE: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Luck, Tony
, (Mon Nov 12, 3:57 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Eric Dumazet
, (Mon Nov 12, 4:14 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Mon Nov 12, 6:46 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Mon Nov 12, 3:56 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Eric Dumazet
, (Mon Nov 12, 4:18 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Mon Nov 12, 6:46 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Peter Zijlstra
, (Fri Nov 2, 6:28 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Fri Nov 2, 10:35 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Peter Zijlstra
, (Fri Nov 2, 11:20 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Fri Nov 2, 11:29 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Thu Nov 1, 9:06 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 10:51 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 1:38 am)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, Christoph Lameter
, (Wed Oct 31, 9:21 pm)
Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce pe...
, David Miller
, (Thu Nov 1, 1:27 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21-rc4
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
Andrew Morton
-mm merge plans for 2.6.23
Stephane Eranian
Re: [PATCH] fix up perfmon to build on -mm
git
:
linux-netdev
:
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
linux-fsdevel
:
Linus Torvalds
Re: silent semantic changes with reiser4
jim owens
Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond...
Alan Cox
Re: impact of 4k sector size on the IO & FS stack
Peter Zijlstra
Re: + mm-balance_dirty_pages-reduce-calls-to-global_page_state-to-reduce-c ache-re...
Colocation donated by:
Who's online
There are currently
0 users
and
1235 guests
online.
Syndicate