Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754278AbYFITMf (ORCPT ); Mon, 9 Jun 2008 15:12:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754120AbYFITMS (ORCPT ); Mon, 9 Jun 2008 15:12:18 -0400 Received: from smtp-out04.alice-dsl.net ([88.44.63.6]:3997 "EHLO smtp-out04.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756814AbYFITMR (ORCPT ); Mon, 9 Jun 2008 15:12:17 -0400 To: Christoph Lameter Cc: Eric Dumazet , Mike Travis , Andrew Morton , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Peter Zijlstra , Rusty Russell Subject: Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access From: Andi Kleen References: <20080530035620.587204923@sgi.com> <20080529215827.b659d032.akpm@linux-foundation.org> <4846AFCF.30500@sgi.com> <4848CC22.6090109@cosmosbay.com> Date: Mon, 09 Jun 2008 21:11:54 +0200 In-Reply-To: (Christoph Lameter's message of "Mon, 9 Jun 2008 11:44:23 -0700 (PDT)") Message-ID: <87abhuqv7p.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 09 Jun 2008 19:04:43.0568 (UTC) FILETIME=[AD278300:01C8CA63] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 16 Christoph Lameter writes: > The problem is that offsets relative to %gs or %fs are limited by the > small memory model that is chosen. Actually they are not. If you really want you can do movabs $64bit,%reg ; op ...,%gs:(%reg) It's just not very efficient compared to small (or rather kernel) model and also older binutils didn't support large model. -Andi -- 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/