Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Dec 2001 11:48:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Dec 2001 11:47:45 -0500 Received: from alfik.ms.mff.cuni.cz ([195.113.19.71]:25098 "EHLO alfik.ms.mff.cuni.cz") by vger.kernel.org with ESMTP id ; Fri, 7 Dec 2001 11:46:51 -0500 Date: Fri, 7 Dec 2001 16:03:47 +0100 From: Pavel Machek To: Chris Wedgwood Cc: Rusty Russell , linux-kernel@vger.kernel.org, torvalds@transmeta.com Subject: Re: [PATCH] 2.5.1-pre5: per-cpu areas Message-ID: <20011207160347.A1404@elf.ucw.cz> In-Reply-To: <20011206091836.GA5470@weta.f00f.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011206091836.GA5470@weta.f00f.org> User-Agent: Mutt/1.3.23i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > On Thu, Dec 06, 2001 at 09:09:35AM +1100, Rusty Russell wrote: > > The following patch implements convenient per-cpu areas: > DECLARE_PER_CPU(int myvar); > > Where or why do we need this? DECLARE_PER_CPU(struct task *current). Same for slab quick-alloc lists, performance counters, ... Pavel -- "I do not steal MS software. It is not worth it." -- Pavel Kankovsky - 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/