Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Aug 2002 15:50:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Aug 2002 15:49:24 -0400 Received: from [195.39.17.254] ([195.39.17.254]:11904 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id ; Fri, 23 Aug 2002 15:49:04 -0400 Date: Fri, 2 Nov 2001 05:12:12 +0000 From: Pavel Machek To: Linus Torvalds Cc: "Martin J. Bligh" , Benjamin LaHaise , Andrea Arcangeli , Alan Cox , Chris Friesen , Pavel Machek , linux-kernel@vger.kernel.org, linux-aio@kvack.org Subject: Re: aio-core why not using SuS? [Re: [rfc] aio-core for 2.5.29 (Re: async-io API registration for 2.5.29)] Message-ID: <20011102051212.H35@toy.ucw.cz> References: <2156501334.1029532543@[10.10.2.3]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from torvalds@transmeta.com on Fri, Aug 16, 2002 at 09:46:09PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 21 Hi! > > But if you have such a mapping, then you _cannot_ make a per-task VM > space, because many tasks will share the same VM. You cannot even do a > per-cpu mapping change (and rewrite the VM on thread switch), since the VM > is _shared_ across CPU's, and absolutely has to be in order to work with > CPU's that do TLB fill in hardware (eg x86). You could have different %cr3 on different CPUs and use page tables as TLBs (emulating software-filled TLBs, basically); but that smells like "bye bye performance". Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. - 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/