Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751855AbdFHNru (ORCPT ); Thu, 8 Jun 2017 09:47:50 -0400 Received: from foss.arm.com ([217.140.101.70]:48878 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751815AbdFHNrs (ORCPT ); Thu, 8 Jun 2017 09:47:48 -0400 Date: Thu, 8 Jun 2017 14:47:43 +0100 From: Juri Lelli To: Steven Rostedt Cc: Luca Abeni , Ingo Molnar , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Claudio Scordino , Tommaso Cucinotta , Daniel Bristot de Oliveira , Joel Fernandes , Mathieu Poirier , Luca Abeni Subject: Re: [PATCH 01/10] sched/deadline: track the active utilization Message-ID: <20170608134743.cqocutzvviio3pqy@e106622-lin> References: <1495138417-6203-1-git-send-email-luca.abeni@santannapisa.it> <1495138417-6203-2-git-send-email-luca.abeni@santannapisa.it> <20170608083125.6cum2zoklnzi2mbx@gmail.com> <20170608104322.060b9139@luca> <20170608090555.hn4v32vamazl5ufa@e106622-lin> <20170608093634.530fcfa7@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170608093634.530fcfa7@gandalf.local.home> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2673 Lines: 66 On 08/06/17 09:36, Steven Rostedt wrote: > On Thu, 8 Jun 2017 10:05:55 +0100 > Juri Lelli wrote: > > > On 08/06/17 10:43, Luca Abeni wrote: > > > On Thu, 8 Jun 2017 10:31:25 +0200 > > > Ingo Molnar wrote: > > > > > > > * luca abeni wrote: > > > > > > > > > From: Luca Abeni > > > > > > > > > > Active utilization is defined as the total utilization of active > > > > > (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased > > > > > when a task wakes up and is decreased when a task blocks. > > > > > > > > > > When a task is migrated from CPUi to CPUj, immediately subtract the > > > > > task's utilization from CPUi and add it to CPUj. This mechanism is > > > > > implemented by modifying the pull and push functions. > > > > > Note: this is not fully correct from the theoretical point of view > > > > > (the utilization should be removed from CPUi only at the 0 lag > > > > > time), a more theoretically sound solution is presented in the > > > > > next patches. > > > > > > > > > > Signed-off-by: Juri Lelli > > > > > Signed-off-by: Luca Abeni > > > > > Tested-by: Daniel Bristot de Oliveira > > > > > > > > So that SOB chain is not valid - either Juri needs to be the From: > > > > author, or it should be an Acked-by (or Reviewed-by). > > > > > > > > For now I've converted this to: > > > > > > > > > Signed-off-by: Luca Abeni > > > > > Acked-by: Juri Lelli > > > > > > Sorry, my fault: I must have misunderstood how to use the Signed-off-by > > > stuff. > > > > > > The story here is that I took a patch originally developed by Juri and > > > fixed and I heavily modified it. Since the current patch is very > > > different from the original one, Juri suggested I should by the "From:" > > > author, and I simply added his Signed-off-by to acknowledge that he was > > > the author of the original patch. > > > > > > If Juri is ok with your change, I agree with it. > > > > > > > Yep, I'm OK with Ingo's solution. > > > > Although, since the code originally came from you a Signed-off-by is > appropriate. The SOB is a chain of where the patch came from. As Juri > actually has part ownership, Juri should have a signed-off-by on the > patch. The problem with git is that it allows for multiple signed off > bys but only one owner. > Right. I've been also using Co-authored-by: in some other set, but I don't think it's actually documented anywhere. :/ Anyway, not a big deal in this particular case. :) Thanks, - Juri