From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7iSX-0001dA-5q for qemu-devel@nongnu.org; Fri, 09 Aug 2013 04:54:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7iSQ-0005NJ-3d for qemu-devel@nongnu.org; Fri, 09 Aug 2013 04:54:09 -0400 Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:60767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7iSP-0005NF-To for qemu-devel@nongnu.org; Fri, 09 Aug 2013 04:54:02 -0400 Received: by mail-ee0-f46.google.com with SMTP id c13so1955798eek.19 for ; Fri, 09 Aug 2013 01:54:01 -0700 (PDT) Date: Fri, 9 Aug 2013 10:53:57 +0200 From: Stefan Hajnoczi Message-ID: <20130809085357.GC22210@stefanha-thinkpad.redhat.com> References: <1375998147-24292-1-git-send-email-alex@alex.org.uk> <1375998147-24292-6-git-send-email-alex@alex.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375998147-24292-6-git-send-email-alex@alex.org.uk> Subject: Re: [Qemu-devel] [RFC] [PATCHv8 05/30] aio / timers: Add prctl(PR_SET_TIMERSLACK, 1, ...) to reduce timer slack List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: Kevin Wolf , Anthony Liguori , qemu-devel@nongnu.org, liu ping fan , Stefan Hajnoczi , Paolo Bonzini , MORITA Kazutaka , rth@twiddle.net On Thu, Aug 08, 2013 at 10:42:02PM +0100, Alex Bligh wrote: > Where supported, called prctl(PR_SET_TIMERSLACK, 1, ...) to > set one nanosecond timer slack to increase precision of timer > calls. > > Signed-off-by: Alex Bligh > --- > qemu-timer.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/qemu-timer.c b/qemu-timer.c > index 5e81935..9eb6db8 100644 > --- a/qemu-timer.c > +++ b/qemu-timer.c > @@ -41,6 +41,10 @@ > #include > #endif > > +#ifdef CONFIG_PRCTL_PR_SET_TIMERSLACK The ./configure change should also be in this patch. I think it crept into another patch by mistake.