Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753962AbcKNKXX (ORCPT ); Mon, 14 Nov 2016 05:23:23 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:34483 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752315AbcKNKW6 (ORCPT ); Mon, 14 Nov 2016 05:22:58 -0500 Date: Mon, 14 Nov 2016 15:52:54 +0530 From: Viresh Kumar To: Peter Zijlstra Cc: Tommaso Cucinotta , Rafael Wysocki , Ingo Molnar , Lists linaro-kernel , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Vincent Guittot , Juri Lelli , Robin Randhawa , Steve Muckle Subject: Re: [PATCH 2/3] cpufreq: schedutil: move slow path from workqueue to SCHED_FIFO task Message-ID: <20161114102254.GD4178@vireshk-i7> References: <85bf45982709e06f7f42e1b8f8315945e9d9b6d0.1478858983.git.viresh.kumar@linaro.org> <20161111143935.GK3117@twins.programming.kicks-ass.net> <20161114092252.GT3117@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161114092252.GT3117@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 438 Lines: 13 On 14-11-16, 10:22, Peter Zijlstra wrote: > Any static prio value is wrong (static prio assignment requires system > knowledge that the kernel doesn't and cannot have), 50 is what threaded > IRQs default too as well IIRC, so it would at least be consistent with > that. Yes you are correct and I have found a better way of defining the priority in this case using that code instead of magic figure 50. MAX_USER_RT_PRIO/2 :) -- viresh