Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754069AbbBRSWs (ORCPT ); Wed, 18 Feb 2015 13:22:48 -0500 Received: from mail-we0-f175.google.com ([74.125.82.175]:34724 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481AbbBRSWr (ORCPT ); Wed, 18 Feb 2015 13:22:47 -0500 Date: Wed, 18 Feb 2015 19:22:42 +0100 From: Ingo Molnar To: John Stultz Cc: David Ahern , Stephane Eranian , Linux Kernel Mailing List , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , "ak@linux.intel.com" , Jiri Olsa , Namhyung Kim , Rose Belcher , Sukadev Bhattiprolu , Sonny Rao , John Mccutchan , Adrian Hunter , =?utf-8?B?UGF3ZcWC?= Moll Subject: Re: [PATCH v2 4/4] clock: add perf_clock posix clock Message-ID: <20150218182242.GC32251@gmail.com> References: <1424280109-9801-1-git-send-email-eranian@google.com> <1424280109-9801-5-git-send-email-eranian@google.com> <54E4D5C4.1070005@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 33 * John Stultz wrote: > > AFAIK Stephane is not proposing this patch for > > inclusion but rather it is an unfortunate necessary > > evil. The module exposes perf_clock (ie., local_clock) > > to userspace and allows in this case the generation of > > samples with a perf timestamp which is required for > > proper sorting. > > > > I understand this solution is not liked, but it works, > > requires no kernel modifications to achieve the end > > goal and can be used for kernels going back to at least > > 2.6.38 (perhaps earlier, have not checked). > > Yep. And I'm sympathetic to the fact that an alternative > solution hasn't made it upstream yet. I'm hopeful Pawel's > recent approach will make it in (it seems like it hasn't > raised any flags w/ scheduler folks - but I've not always > been able to follow the discussion closely). So if it's part of this series and reviews fine then I'll be happy to apply it! Nothing better than having a kernel patch and an actual usecase go hand in hand. Thanks, Ingo -- 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/