Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754308AbYJGMaT (ORCPT ); Tue, 7 Oct 2008 08:30:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753190AbYJGMaG (ORCPT ); Tue, 7 Oct 2008 08:30:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:52025 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752992AbYJGMaF (ORCPT ); Tue, 7 Oct 2008 08:30:05 -0400 Message-ID: <48EB5611.9090005@redhat.com> Date: Tue, 07 Oct 2008 14:29:05 +0200 From: Avi Kivity User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: prasad@linux.vnet.ibm.com CC: linux-kernel@vger.kernel.org, Alan Stern , Roland McGrath , akpm@linux-foundation.org, mingo@elte.hu, jason.wessel@windriver.com, richardj_moore@uk.ibm.com Subject: Re: [RFC Patch 0/9] Hardware Breakpoint interfaces References: <20081007113815.GA23523@in.ibm.com> In-Reply-To: <20081007113815.GA23523@in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 24 K.Prasad wrote: > - Enable KGDB and KVM to use the register_kernel_hw_breakpoint() > interface for their HW Breakpoint usage, in the absence of which > they will be broken during simultaneous use. > KVM conceptually isn't a kernel use of the debug registers. KVM modifies the debug registers while the guest is running, and restores them after the guest returns. Right now, as an optimization, KVM defers restoring the debug registers until after the next context switch out of the kvm task, or until the next exit to userspace (whichever comes earlier); we should change this to avoid the deferral if kernel breakpoints are in effect. This will allow simultaneous use of KVM breakpoints and kernel breakpoints. -- error compiling committee.c: too many arguments to function -- 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/