Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753244AbbLNRyw (ORCPT ); Mon, 14 Dec 2015 12:54:52 -0500 Received: from mail.kernel.org ([198.145.29.136]:49491 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbbLNRyt (ORCPT ); Mon, 14 Dec 2015 12:54:49 -0500 Date: Mon, 14 Dec 2015 14:54:45 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: David Ahern , Peter Zijlstra , Ingo Molnar , Jiri Olsa , LKML , Frederic Weisbecker , Andi Kleen , Stephane Eranian , Adrian Hunter Subject: Re: [PATCHSET 00/16] perf top: Add multi-thread support (v1) Message-ID: <20151214175445.GW6843@kernel.org> References: <1449734015-9148-1-git-send-email-namhyung@kernel.org> <20151210080118.GA8664@gmail.com> <5E6F0F13-9696-45F1-A0E8-CA0B95020D10@gmail.com> <20151211081141.GA21600@gmail.com> <566AE54B.1010702@gmail.com> <20151214092613.GL6357@twins.programming.kicks-ass.net> <566ED644.2010601@gmail.com> <20151214170654.GC23614@danjae.kornet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151214170654.GC23614@danjae.kornet> X-Url: http://acmel.wordpress.com 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: 747 Lines: 17 Em Tue, Dec 15, 2015 at 02:06:54AM +0900, Namhyung Kim escreveu: > On Mon, Dec 14, 2015 at 07:46:28AM -0700, David Ahern wrote: > > If you have 1-thread per cpu that means you are pinning the threads to the > > cpu? That brings in additional permissions problems. > > Did you mean setting sched affinity? It seems not a privileged > operation doing it for its own threads.. Right, and we should do it (create per cpu rb consuming threads) just for the cpus in the workload affinity mask. - Arnaldo -- 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/