Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753936AbbETS4A (ORCPT ); Wed, 20 May 2015 14:56:00 -0400 Received: from h1.radempa.de ([176.9.142.194]:44727 "EHLO mail.cosmopool.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753556AbbETSzz (ORCPT ); Wed, 20 May 2015 14:55:55 -0400 From: Harald Geyer To: John Stultz cc: LKML , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH 2/7] timekeeping: Provide new API to get the current time resolution In-reply-to: References: <1432142376-2077-1-git-send-email-john.stultz@linaro.org> <1432142376-2077-3-git-send-email-john.stultz@linaro.org> Comments: In-reply-to John Stultz message dated "Wed, 20 May 2015 11:04:31 -0700." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3956.1432148145.1@stardust.g4.wien.funkfeuer.at> Date: Wed, 20 May 2015 20:55:45 +0200 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1286 Lines: 29 John Stultz writes: > > I was thinking that the variable hrtimer_resolution, that Thomas > > introduced in > > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/include/linux/hrtimer.h?h=timers/wip&id=03eeacdb07e2fdfc4ef311c2593286c92eba609c > > is meant to provide the same information. I haven't looked into this > > in detail yet, so I might be wrong, but it is on my todo list for > > after it appears in the trees I work with... > > Well, I don't think the above covers the same usage, since one is the > hrtimer resolution (which we expose to userspace via the posix timers > interface) vs the timekeeping/clocksource resolution (which we don't > intend to expose to userspace). Ok, hrtimer resolution is not updated when we change clocksource. Seems like I misinterpreted something when I read the series. > That said, if you're not sure if this patch is still necessary, I'm > happy to drop it, since your iio code was the only potential user so > far. :) Looks like my patch is still needed... :( Thanks, Harald -- 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/