Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263521AbTEIWHy (ORCPT ); Fri, 9 May 2003 18:07:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263529AbTEIWHy (ORCPT ); Fri, 9 May 2003 18:07:54 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:4104 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id S263521AbTEIWHy (ORCPT ); Fri, 9 May 2003 18:07:54 -0400 Message-ID: <3EBC2996.2040908@zytor.com> Date: Fri, 09 May 2003 15:20:06 -0700 From: "H. Peter Anvin" Organization: Zytor Communications User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en, sv MIME-Version: 1.0 To: Timothy Miller CC: Ulrich Drepper , linux-kernel@vger.kernel.org Subject: Re: hammer: MAP_32BIT References: <3EBB5A44.7070704@redhat.com> <20030509092026.GA11012@averell> <16059.37067.925423.998433@gargle.gargle.HOWL> <20030509113845.GA4586@averell> <3EBC0084.4090809@redhat.com> <3EBC15B5.4070604@zytor.com> <3EBC2164.6050605@redhat.com> <3EBC29A5.1050005@techsource.com> In-Reply-To: <3EBC29A5.1050005@techsource.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 871 Lines: 22 Timothy Miller wrote: > > If your program is capable of handling an address with more than 32 > bits, what point is there giving a hint? Either your program can handle > 64-bit pointers or it cannot. Any program flexible enough to handle > either size dynamically would expend enough overhead checking that it > would be worse than if it just made a hard choice. > The purpose is that there is a slight task-switching speed advantage if the address is in the bottom 4 GB. Since this affects every process, and most processes use very little TLS, this is worthwhile. This is fundamentally due to a K8 design flaw. -hpa - 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/