Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <clameter@...>
Cc: <akpm@...>, <linux-arch@...>, <linux-kernel@...>, <mathieu.desnoyers@...>, <penberg@...>
Date: Thursday, November 1, 2007 - 1:38 am

From: Christoph Lameter <clameter@sgi.com>
Date: Wed, 31 Oct 2007 21:16:59 -0700 (PDT)


Christoph, as Rusty found out years ago when he first wrote this code,
you cannot put hard limits on the alloc_percpu() allocations.

They can be done by anyone, any module, and since there was no limit
before you cannot reasonably add one now.

As just one of many examples, several networking devices use
alloc_percpu() for each instance they bring up.  This alone can
request arbitrary amounts of per-cpu data.

Therefore, you'll need to do your optimization without imposing any
size limits.
-
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..., Christoph Lameter, (Wed Oct 31, 8:26 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..., Christoph Lameter, (Wed Oct 31, 8:53 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..., Christoph Lameter, (Wed Oct 31, 9:12 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..., Christoph Lameter, (Mon Nov 12, 3:14 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..., Christoph Lameter, (Fri Nov 2, 10:35 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..., 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)