Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757024AbZKRJa2 (ORCPT ); Wed, 18 Nov 2009 04:30:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757014AbZKRJa1 (ORCPT ); Wed, 18 Nov 2009 04:30:27 -0500 Received: from mail-yw0-f202.google.com ([209.85.211.202]:50665 "EHLO mail-yw0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756997AbZKRJaX convert rfc822-to-8bit (ORCPT ); Wed, 18 Nov 2009 04:30:23 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RWuHJ5ieqOZBPiMGwTjFsKRsOnHT7pCizCM+OHhzpHnlhREeZcpnLY3kNdhb5ZR7l7 sc6RyvcMbEiwzpNK0f3k+o5SGybgYVgfdiN6CAMbPYqkFueRAGjCfQOiyrhHQv2ofxc3 yNSg9KPFMv6Y5+xFWRUdoR+P7QKY0WYjavsXU= MIME-Version: 1.0 In-Reply-To: <20091116202214.GD360@elte.hu> References: <1258311859-6189-1-git-send-email-HIGHGuY@gmail.com> <20091116083521.GC20672@elte.hu> <20091116202214.GD360@elte.hu> Date: Wed, 18 Nov 2009 10:30:29 +0100 Message-ID: Subject: Re: [RFC] observe and act upon workload parallelism: PERF_TYPE_PARALLELISM (Was: [RFC][PATCH] sched_wait_block: wait for blocked threads) From: Stijn Devriendt To: Ingo Molnar Cc: Linus Torvalds , Mike Galbraith , Peter Zijlstra , Andrea Arcangeli , Thomas Gleixner , Andrew Morton , peterz@infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 924 Lines: 22 > This would be a perfect and suitable use of poll() concepts i think - > and well-optimized one as well. It could even be plugged into epoll(). > > ? ? ? ?Ingo Sorry for not replying earlier, but I was knocked out on the couch (and still am). I'll have a more thorough look later on when my head stops spinning 'round and 'round. I must say that even without applying this perf_event to userspace scheduling, it's probably a nice event to have anyway in order to measure concurrency in existing applications. That it would be suitable to actually control parallellism is probably just a nice extra. But let's look at things again when the clouds have left the brain ;) Stijn -- 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/