From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307AbdLKUPp convert rfc822-to-8bit (ORCPT ); Mon, 11 Dec 2017 15:15:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:33880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbdLKUPl (ORCPT ); Mon, 11 Dec 2017 15:15:41 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8497C2073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Mon, 11 Dec 2017 15:15:37 -0500 From: Steven Rostedt To: Jonathan Haws Cc: "bigeasy@linutronix.de" , "mingo@kernel.org" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "deepa.kernel@gmail.com" , "viro@zeniv.linux.org.uk" , "akpm@linux-foundation.org" , "linux-rt-users@vger.kernel.org" , "arnd@arndb.de" Subject: Re: [RFC][PATCH] ipc: mqueue: wq_add priority changed to dynamic priority Message-ID: <20171211151537.58212890@gandalf.local.home> In-Reply-To: <1513022070.2797.13.camel@sdl.usu.edu> References: <1513006652-7014-1-git-send-email-jhaws@sdl.usu.edu> <1513012323038.16494@sdl.usu.edu> <20171211143241.6b5e627d@gandalf.local.home> <1513022070.2797.13.camel@sdl.usu.edu> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Dec 2017 19:54:33 +0000 Jonathan Haws wrote: > > Probably a better subject would be: > > > >  ipc: mqueue: Have RT tasks queue in by priority in wq_add() > > Is the best way to change that just to change it in the email thread or > resubmit the patch as v2? That, or whoever takes it could change it before they pull it into git. > > > > > Other than that (and that this doesn't handle DL tasks), > > > > Reviewed-by: Steven Rostedt (VMware) > > > > -- Steve > > > > I'm still new to kernel scheduling details - can you elaborate on what > a DL task is?  I'm happy to update the patch to handle DL tasks as well > if it makes sense to do so. DL is a SCHED_DEADLINE task that has a dynamic priority that changes over time. It's not a trivial task to compare them in these situations, and they are currently not used much, and having DL tasks use this queue is probably even more rare of an occurrence. -- Steve