From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757428AbXKLT5J (ORCPT ); Mon, 12 Nov 2007 14:57:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751405AbXKLT4z (ORCPT ); Mon, 12 Nov 2007 14:56:55 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:57977 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751304AbXKLT4y (ORCPT ); Mon, 12 Nov 2007 14:56:54 -0500 Date: Mon, 12 Nov 2007 11:56:53 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Eric Dumazet cc: Herbert Xu , David Miller , akpm@linux-foundation.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, mathieu.desnoyers@polymtl.ca, penberg@cs.helsinki.fi Subject: Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead In-Reply-To: <4738AE04.1030506@cosmosbay.com> Message-ID: References: <4738AE04.1030506@cosmosbay.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1700579579-235893462-1194897413=:27051" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1700579579-235893462-1194897413=:27051 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 12 Nov 2007, Eric Dumazet wrote: > Christoph Lameter a =E9crit : > > On Mon, 12 Nov 2007, Herbert Xu wrote: > >=20 > > > David Miller wrote: > > > > Each IP compression tunnel instance does an alloc_percpu(). > > > Actually all IPComp tunnels share one set of objects which are > > > allocated per-cpu. So only the first tunnel would do that. > >=20 > > Ahh so the need to be able to expand per cpu memory storage on demand i= s not > > as critical as we thought. > >=20 >=20 > Yes, but still desirable for future optimizations. >=20 > For example, I do think using a per cpu memory storage on net_device refc= nt & > last_rx could give us some speedups. Note that there was a new patchset posted (titled cpu alloc v1) that=20 provides on demand extension of the cpu areas. See http://marc.info/?l=3Dlinux-kernel&m=3D119438261304093&w=3D2 ---1700579579-235893462-1194897413=:27051--