Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750725AbVKINiw (ORCPT ); Wed, 9 Nov 2005 08:38:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750753AbVKINiv (ORCPT ); Wed, 9 Nov 2005 08:38:51 -0500 Received: from cantor.suse.de ([195.135.220.2]:46569 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1750725AbVKINiv (ORCPT ); Wed, 9 Nov 2005 08:38:51 -0500 From: Andi Kleen To: Zachary Amsden Subject: Re: [PATCH 19/21] i386 Kprobes semaphore fix Date: Wed, 9 Nov 2005 14:38:09 +0100 User-Agent: KMail/1.8 Cc: virtualization@lists.osdl.org, Andrew Morton , Chris Wright , Linus Torvalds , Linux Kernel Mailing List , "H. Peter Anvin" , Zwane Mwaikambo , Martin Bligh , Pratap Subrahmanyam , Christopher Li , "Eric W. Biederman" , Ingo Molnar References: <200511080439.jA84diI6009951@zach-dev.vmware.com> <200511081412.05285.ak@suse.de> <4370A9F5.4060103@vmware.com> In-Reply-To: <4370A9F5.4060103@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511091438.11848.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 24 On Tuesday 08 November 2005 14:36, Zachary Amsden wrote: > One can imagine clever uses for ptrace to do, say user space > virtualization (since I'm on the topic), or other neat things. So there > is nothing really wrong about having the fully correct EIP conversion > (and here we shouldn't need to worry about races causing some issues > with strict correctness, since there can be one external control thread). Well, the code still scaries me a bit, but ok. x86-64 left at least one case intentionally out. > But were kprobes even inteneded for userspace? There are races here > that are difficult to close without some heavy machinery, and I would > rather not put the machinery in place if simplifying the code is the > right answer. I believe user space kprobes are being worked on by some IBM India folks yes. -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/