Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756230AbZJVSRu (ORCPT ); Thu, 22 Oct 2009 14:17:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755955AbZJVSRu (ORCPT ); Thu, 22 Oct 2009 14:17:50 -0400 Received: from mail-pw0-f42.google.com ([209.85.160.42]:65525 "EHLO mail-pw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755918AbZJVSRt (ORCPT ); Thu, 22 Oct 2009 14:17:49 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ozqcS4F5ZqzDaZov8K8w9d6yAs/MoZ5LetVCdZHHRiVygIetj0xfg6az1elZkyeYKd huT4GnJYId+LQ2dc7z6XOzl0JNi82xkjLdDudG+wYoF1ZXmDIbfeoD9seTcd3qek3f2v hF+kWG+xVWPZAWBlhYuLhzNX41Gjjj0oqACGA= MIME-Version: 1.0 In-Reply-To: References: <5048.1256224623@turing-police.cc.vt.edu> Date: Thu, 22 Oct 2009 23:42:08 +0530 Message-ID: Subject: Re: Can current macro be accessed from interrupt context? From: "Leonidas ." To: Valdis.Kletnieks@vt.edu Cc: linux-kernel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 544 Lines: 15 Assumption > here is a certain task can be in kernel mode only on one cpu at a time > hence that task specific > data structure can be accessed without locks. This is pretty much like per cpu variables, right? Conceptually there is no difference in per-cpu mechanism and what I am thinking. -Leo. -- 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/