Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 22 Oct 2002 22:57:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 22 Oct 2002 22:57:49 -0400 Received: from zero.aec.at ([193.170.194.10]:20236 "EHLO zero.aec.at") by vger.kernel.org with ESMTP id ; Tue, 22 Oct 2002 22:57:49 -0400 To: Gerrit Huizenga Cc: akpm@digeo.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.5.43-mm2] New shared page table patch References: <3DB59DA7.453F89E2@digeo.com> From: Andi Kleen Date: 23 Oct 2002 05:03:38 +0200 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 15 Gerrit Huizenga writes: > If the shared pte patch had mmap support, then all shared libraries > would benefit. Might need to align them to 4 MB boundaries for best > results, which would also be easy for libraries with unspecified > attach addresses (e.g. most shared libraries). But only if the shared libraries are a multiple of 2/4MB, otherwise you'll waste memory. Or do you propose to link multiple mmap'ed libraries together into the same page ? But I agree it would be nice to have a chattr for files that tells mmap() to use large pages for them. -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/