From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751913AbdIAMbe (ORCPT ); Fri, 1 Sep 2017 08:31:34 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:46773 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777AbdIAMbc (ORCPT ); Fri, 1 Sep 2017 08:31:32 -0400 Date: Fri, 1 Sep 2017 14:31:19 +0200 From: Peter Zijlstra To: Alexey Budankov Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Andi Kleen , Kan Liang , Dmitri Prokhorov , Valery Cherepennikov , Mark Rutland , Stephane Eranian , David Carrillo-Cisneros , linux-kernel , Vince Weaver , Thomas Gleixner Subject: Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping Message-ID: <20170901123119.bbkdcpui3vh6zrvb@hirez.programming.kicks-ass.net> References: <96c7776f-1f17-a39e-23e9-658596216d6b@linux.intel.com> <20170803150052.za2vofyqfgarukdr@hirez.programming.kicks-ass.net> <20170822204743.GR32112@worktop.programming.kicks-ass.net> <2a426aa2-42c8-e839-1cec-aa3971651f3e@linux.intel.com> <20170831171837.njnc6r6elsvkl7lt@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 01, 2017 at 01:45:17PM +0300, Alexey Budankov wrote: > Well, this looks like an "opposite" approach to event timekeeping in > comparison to what we currently have. I would say 'sane' approach. The current thing is horrible. > Do you want this rework before or after the current patch set? Before I would think, because the whole point of the rb-tree thing is to not touch all events all the time. And you can only do that after you fix that timekeeping.