From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752320AbdHXKQm (ORCPT ); Thu, 24 Aug 2017 06:16:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:10206 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751331AbdHXKQl (ORCPT ); Thu, 24 Aug 2017 06:16:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,421,1498546800"; d="scan'208";a="144047644" From: Alexey Budankov Subject: [PATCH v8 0/2] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi Organization: Intel Corp. To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin Cc: Andi Kleen , Kan Liang , Mark Rutland , David Carrillo-Cisneros , Stephane Eranian , Dmitri Prokhorov , Valery Cherepennikov , linux-kernel Message-ID: Date: Thu, 24 Aug 2017 13:16:36 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patch set v8 addresses feedback captured on review of v7. For more background details please refer to v7 and earlier. Specifically in this version mux switch is renamed to rotation switch and the value of rotation switch may be the one of defined by ROTATION_DISABLED or ROTATION_ENABLED macros. ctx->rotate_disable bool flag is renamed to ctx->rotation and also employs ROTATION_DISABLE and ROTATION_ENABLED macros. pinned_group_sched_in() and flexible_group_sched_in() API are introduced to consolidate code enabling a whole group from pinned and flexible groups appropriately. Patches in the set are expected to be applied one after another in the mentioned order and they are logically split into two parts to simplify the review process. The patch set was successfully tested over a night using perf_fuzzer tool. Thanks, Alexey --- Alexey Budankov (2): perf/core: use rb trees for pinned/flexible groups perf/core: add rotation switch to skip to the current CPU's events list on mux interrupt include/linux/perf_event.h | 21 ++- kernel/events/core.c | 456 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 362 insertions(+), 115 deletions(-)