Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759192Ab0HEMjd (ORCPT ); Thu, 5 Aug 2010 08:39:33 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:47390 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755733Ab0HEMj3 convert rfc822-to-8bit (ORCPT ); Thu, 5 Aug 2010 08:39:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=JkWdeHqfAZ3TUjr5mz+bodb1+oARCOvki1ZrUmLQfO3N2iCjk/yKGLlf+EX+uESTPR PPmUxD5NohnQnmlpmMrZPDEZOOifFT8WZbQ4DBf/xCLwNZ1cw9YIor7n/ofEQ+PXbwRy KcPJQZDl+yFwUnJsiv8D1cAMmvvoWOR57EhrI= MIME-Version: 1.0 In-Reply-To: <1280969546.2678.33.camel@localhost.localdomain> References: <1280926108-24668-1-git-send-email-virtuoso@slind.org> <1280937526.28884.21.camel@work-vm> <4C59B5E1.9040707@genband.com> <1280969546.2678.33.camel@localhost.localdomain> Date: Thu, 5 Aug 2010 15:39:28 +0300 X-Google-Sender-Auth: mXWZd9fH0e_vplmF3P3wCDjn44A Message-ID: Subject: Re: [PATCH] [RFC] notify userspace about time changes From: Alexander Shishkin To: john stultz Cc: Chris Friesen , gregkh@suse.de, lkml@vger.kernel.org, "Kirill A. Shutemov" , Thomas Gleixner , Martin Schwidefsky , Andrew Morton , Jon Hunter , Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , David Howells , Avi Kivity , "H. Peter Anvin" , John Kacur , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1347 Lines: 32 On 5 August 2010 03:52, john stultz wrote: > On Wed, 2010-08-04 at 12:48 -0600, Chris Friesen wrote: >> On 08/04/2010 09:58 AM, john stultz wrote: >> >> > Is there a actual use case that you need this for?  I don't really have >> > an issue with the code I just really want to make sure the feature would >> > be useful enough to justify the API and code maintenance going forward. >> >> We actually added a time-change-notification mechanism internally a long >> time ago but never saw demand for it and so never bothered trying to >> push it upstream.  Ours is signal-based. >> >> Among other things we use it to pass on time-change notifications to an >> emulator running a proprietary OS that really cares about having an >> accurate time-of-day but can't afford a syscall to retrieve it every time. > > So the eventfd based method (and the filtering) proposed would work for > you? I think that Kirill has a point and the filtering is really there for no gain. The user can indeed count his own time changes and compare that against the eventfd counter. Regards, -- Alex -- 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/