Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261343AbUKFJRj (ORCPT ); Sat, 6 Nov 2004 04:17:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261345AbUKFJRj (ORCPT ); Sat, 6 Nov 2004 04:17:39 -0500 Received: from cantor.suse.de ([195.135.220.2]:58586 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S261343AbUKFJRi (ORCPT ); Sat, 6 Nov 2004 04:17:38 -0500 Date: Sat, 6 Nov 2004 10:12:40 +0100 From: Andi Kleen To: Ricky Beam Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, ak@suse.de, Andrew Morton , arjanv@redhat.com Subject: Re: breakage: flex mmap patch for x86-64 Message-ID: <20041106091240.GA4996@wotan.suse.de> References: <200411060026.48571.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 503 Lines: 15 > static inline int mmap_is_legacy(void) > { > + if (test_thread_flag(TIF_IA32)) > + return 1; That's definitely not the right fix because for 32bit you need flexmmap more than for 64bit because it gives you more address space. -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/