From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751110AbbC1ESW (ORCPT ); Sat, 28 Mar 2015 00:18:22 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:35116 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbbC1ESU (ORCPT ); Sat, 28 Mar 2015 00:18:20 -0400 Message-ID: <1427516297.2447.59.camel@gmail.com> Subject: Re: [PATCH 2/2] show nohz_full cpus in sysfs From: Mike Galbraith To: riel@redhat.com Cc: linux-kernel@vger.kernel.org, lizefan@huawei.com, tj@kernel.org, gregkh@linuxfoundation.org Date: Sat, 28 Mar 2015 05:18:17 +0100 In-Reply-To: <1427493027-15955-3-git-send-email-riel@redhat.com> References: <1427493027-15955-1-git-send-email-riel@redhat.com> <1427493027-15955-3-git-send-email-riel@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-03-27 at 17:50 -0400, riel@redhat.com wrote: > From: Rik van Riel > > Currently there is no way to query which CPUs are in nohz_full > mode from userspace. Hm, they're both (as of your last set) invariant. Is this so an HPC app can automatically bind itself or something? You can't have more than one such app, or rather if you did, they'd need more than which CPUs are HPC capable, they'd need occupancy too, so the query mechanism seems kinda useless. Box driver has to allocate CPUs, and presumably knows the configuration of the box (those who don't become ex box drivers). -Mike