Re: [PATCH] alloc_percpu() fails to allocate percpu data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Wednesday, February 27, 2008 - 2:56 pm

On Wed, 27 Feb 2008, Andrew Morton wrote:


Urgh. You too?
 

Well I tried it when slub went first in and it did not go well. The issue 
is that x86 detects the cache line size on bootup. Thus cache_line_size(). 
Most of the other arch have compile time cache line sizes. Thus 
L1_CACHE_BYTES. So L1_CACHE_BYTES is the maximum value that 
cache_line_size() can take.

What I was attempting to do is to make x86 have one compile time cache 
line size L1_CACHE_BYTES. That raised objections because space was wasted.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] alloc_percpu() fails to allocate percpu data, Eric Dumazet, (Thu Feb 21, 11:00 am)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Peter Zijlstra, (Thu Feb 21, 3:26 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Andrew Morton, (Sat Feb 23, 1:04 am)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Christoph Lameter, (Wed Feb 27, 12:44 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Christoph Lameter, (Wed Feb 27, 12:59 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Andrew Morton, (Wed Feb 27, 1:24 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Christoph Lameter, (Wed Feb 27, 2:56 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Christoph Lameter, (Mon Mar 3, 12:30 pm)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Mike Snitzer, (Tue Mar 11, 11:15 am)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Eric Dumazet, (Tue Mar 11, 11:41 am)
Re: [PATCH] alloc_percpu() fails to allocate percpu data, Mike Snitzer, (Tue Mar 11, 12:39 pm)