login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
9
Re: [PATCH] vmallocinfo: Add NUMA informations
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Christoph Lameter <clameter@...>
To: Eric Dumazet <dada1@...>
Cc: Andrew Morton <akpm@...>, <kosaki.motohiro@...>, <nickpiggin@...>, <hugh@...>, <linux-kernel@...>
Subject:
Re: [PATCH] vmallocinfo: Add NUMA informations
Date: Monday, June 9, 2008 - 10:19 am
On Wed, 4 Jun 2008, Eric Dumazet wrote:
quoted text
> - return seq_open(file, &vmalloc_op); > + unsigned int *ptr = NULL; > + int ret; > + > + if (NUMA_BUILD) > + ptr = kmalloc(nr_node_ids * sizeof(unsigned int), GFP_KERNEL);
Maybe a bit of overkill here. nr_node_ids == 1 in the !NUMA case which should not do much harm if you alloc the struct anymore. --
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] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Mon Jun 2, 2:54 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Mon Jun 2, 3:09 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Mon Jun 2, 11:37 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Tue Jun 3, 5:40 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:16 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Mon Jun 9, 5:05 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Pekka Enberg
, (Mon Jun 9, 5:12 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Wed Jun 4, 11:01 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:19 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Randy Dunlap
, (Wed Jun 4, 11:33 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Tue Jun 3, 12:35 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
KAMEZAWA Hiroyuki
Re: 2.6.23-mm1
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
David Miller
Re: Slow DOWN, please!!!
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
David Miller
[GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
Paweł Staszewski
rib_trie / Fix inflate_threshold_root. Now=15 size=11 bits
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
504 guests
online.
Syndicate