From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754069AbYE3SM3 (ORCPT ); Fri, 30 May 2008 14:12:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752768AbYE3SMT (ORCPT ); Fri, 30 May 2008 14:12:19 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:33467 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752753AbYE3SMS (ORCPT ); Fri, 30 May 2008 14:12:18 -0400 Date: Fri, 30 May 2008 11:12:12 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Matthew Wilcox cc: Mike Travis , Andrew Morton , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Eric Dumazet , Peter Zijlstra , Rusty Russell Subject: Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access In-Reply-To: <20080530180021.GJ22636@parisc-linux.org> Message-ID: References: <20080530035620.587204923@sgi.com> <20080529215827.b659d032.akpm@linux-foundation.org> <20080529222143.5d7aa1e5.akpm@linux-foundation.org> <48401169.3050706@sgi.com> <20080530180021.GJ22636@parisc-linux.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 May 2008, Matthew Wilcox wrote: > On Fri, May 30, 2008 at 10:50:04AM -0700, Christoph Lameter wrote: > > cpu alloc v2 had an extendable per cpu space. You have the patches. We > > could put this on top of this patchset if necessary. But then it not so > > nice and simple anymore. Maybe we can rstrict the use of cpu alloc > > instead to users with objects < cache_line_size() or so? > > Restricting the use of cpu_alloc based on size of object is no good when > you're trying to allocate 45,000 objects. Extending the per CPU space > is the only option. Ok guess we need to bring the virtually mapped per cpu patches forward.