Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934054AbXHHNaj (ORCPT ); Wed, 8 Aug 2007 09:30:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932265AbXHHNaF (ORCPT ); Wed, 8 Aug 2007 09:30:05 -0400 Received: from one.firstfloor.org ([213.235.205.2]:59062 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933620AbXHHNaC (ORCPT ); Wed, 8 Aug 2007 09:30:02 -0400 Date: Wed, 8 Aug 2007 15:30:01 +0200 From: Andi Kleen To: Steven Rostedt Cc: Andi Kleen , Glauber de Oliveira Costa , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, rusty@rustcorp.com.au, mingo@elte.hu, chrisw@sous-sol.org, jeremy@goop.org, avi@qumranet.com, anthony@codemonkey.ws, virtualization@lists.linux-foundation.org, lguest@ozlabs.org Subject: Re: [PATCH 18/25] [PATCH] turn priviled operations into macros in entry.S Message-ID: <20070808133001.GD14419@one.firstfloor.org> References: <11865467522495-git-send-email-gcosta@redhat.com> <200708081138.23018.ak@suse.de> <200708081424.49896.ak@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 14 > If you were talking about the general iretq => INTERRUPT_RETURN, then the > answer is "Yes, they are sufficient". The first version of lguest ran the > guest kernel in ring 3 (using dual page tables for guest kernel and guest > user). The current version I'm pushing runs lguest in ring 1, and the > entry.S code worked for both. How do you implement system calls then? -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/