From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263174AbTDFWNx (for ); Sun, 6 Apr 2003 18:13:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263175AbTDFWNw (for ); Sun, 6 Apr 2003 18:13:52 -0400 Received: from franka.aracnet.com ([216.99.193.44]:44941 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id S263174AbTDFWNv (for ); Sun, 6 Apr 2003 18:13:51 -0400 Date: Sun, 06 Apr 2003 15:25:08 -0700 From: "Martin J. Bligh" To: Andrea Arcangeli cc: Rik van Riel , Alan Cox , Andrew Morton , mingo@elte.hu, hugh@veritas.com, dmccr@us.ibm.com, Linux Kernel Mailing List , linux-mm@kvack.org, Bill Irwin Subject: Re: subobj-rmap Message-ID: <2640000.1049667906@[10.10.2.4]> In-Reply-To: <20030406221547.GP1326@dualathlon.random> References: <1600000.1049666582@[10.10.2.4]> <20030406221547.GP1326@dualathlon.random> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >> We can always leave the sys_remap_file_pages stuff using pte_chains, > > not sure why you want still to have the vm to know about the > mmap(VM_NONLINEAR) hack at all. > > that's a vm bypass. I can bet the people who wants to use it for running > faster on the the 32bit archs will definitely prefer zero overhead and > full hardware speed with only the pagetable and tlb flushing trash, and > zero additional kernel internal overhead. that's just a vm bypass that > could otherwise sit in kernel module, not a real kernel API. Well, you don't get zero overhead whatever you do. You either pay the cost at remap time of manipulating sub-objects, or the cost at page-touch time of the pte_chains stuff. I suspect sub-objects are cheaper if we read /write the 32K chunks, not if people mostly just touch one page per remap though. What do you think about using this for the linear stuff though? M.