Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4856497imm; Tue, 26 Jun 2018 01:32:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK41Jz542jQ2/9RfMD0k+iXS2DYtmEFbmNbcgNwzrjnSN8AGVnLhUQWG92tUztYmEJTbuly X-Received: by 2002:a17:902:8b8c:: with SMTP id ay12-v6mr645292plb.74.1530001929155; Tue, 26 Jun 2018 01:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530001929; cv=none; d=google.com; s=arc-20160816; b=sT4ELnxrZqrSY2zFxn0eqX6iHyUbpVO8vAbwJvRpjUxp1xKDTdKidCj9vOWXqrygQl bp30LF1JJzvsro3uevauBkYOGtUtFdV0iIQH99iHr8B5OSlt4WvyPaMmKjLebfdGxWeF uLI6FgRkl22r1hCaJpCT7b0FkRIbpi5Eg2IhO2sAW9kXU0ZWDbQpefVrOKNNBkVsPT/C fE/8UNQQZWPZcwl0FZSmV8TasGekjLVxUmNPa803qFGPxhj7tky+Rc/QkLOcbtxIf2Q7 hn7UWd2nYC3QIqU2YnvhwmRdJOldKB60cptmR5JdIkmI5DGVje371NoL3IjkmG3SAp46 aQPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=jidsuofPSW7O0OsYnivpOTdOL0ZxS+pl7vP9658V68k=; b=e3vPnQmsutNlakSbZGClbRDK62ZjcGW6Vhik2aqqfUVHGEBpyCVg2Ig5pP95gm3wQu f3uEfPZ9pWm/1SsukqcRotoTLBB7FDQ06xshmORyuMt2K96+bXhUVbgSo9+tHrcL8WCp 2iwh1D0lBXQuVPz7M95VhMvkF7tETashTzxO5QXFpsezcEWkFifYat1Qw+OCltaYcpal PQRTwZZzrlNMDL/0fFromiJcarGirqhLCPokAc3dCZq9j90c2VG4yD/ujtyHRqsAqUEK hrFibAgImqSNMywE4tYJMl2kooeXwzBi9f4nn8pPK5OnVSqEV0hg14QMhw2LFRARiK/x LtOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si1279210pfk.166.2018.06.26.01.31.54; Tue, 26 Jun 2018 01:32:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752846AbeFZIbL (ORCPT + 99 others); Tue, 26 Jun 2018 04:31:11 -0400 Received: from lgeamrelo11.lge.com ([156.147.23.51]:55041 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752604AbeFZIbK (ORCPT ); Tue, 26 Jun 2018 04:31:10 -0400 Received: from unknown (HELO lgemrelse7q.lge.com) (156.147.1.151) by 156.147.23.51 with ESMTP; 26 Jun 2018 17:31:08 +0900 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: byungchul.park@lge.com Received: from unknown (HELO X58A-UD3R) (10.177.222.33) by 156.147.1.151 with ESMTP; 26 Jun 2018 17:31:07 +0900 X-Original-SENDERIP: 10.177.222.33 X-Original-MAILFROM: byungchul.park@lge.com Date: Tue, 26 Jun 2018 17:30:59 +0900 From: Byungchul Park To: Byungchul Park Cc: Steven Rostedt , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Dario Faggioli , linux-kernel@vger.kernel.org, Juri Lelli , bristot@redhat.com, kernel-team@lge.com, Joel Fernandes Subject: Re: [RESEND PATCH v12 2/2] sched/rt: Add support for SD_PREFER_SIBLING on find_lowest_rq() Message-ID: <20180626083059.GE20783@X58A-UD3R> References: <1529297889-24551-1-git-send-email-byungchul.park@lge.com> <1529297889-24551-3-git-send-email-byungchul.park@lge.com> <20180618174203.4a1b4cf0@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 19, 2018 at 02:16:36PM +0900, Byungchul Park wrote: > On Tue, Jun 19, 2018 at 6:42 AM, Steven Rostedt wrote: > > On Mon, 18 Jun 2018 13:58:09 +0900 > > Byungchul Park wrote: > > > >> Hello Steven, > >> > >> I've changed the code a little bit to avoid a compile warning caused by > >> 'const' args of find_cpu(). Can I keep your Reviewed-by? > >> > >> BEFORE: > >> static int find_cpu(const struct cpumask *mask, > >> const struct sched_domain *sd, > >> const struct sched_domain *prefer) > >> > >> AFTER: > >> static int find_cpu(const struct cpumask *mask, > >> struct sched_domain *sd, > >> struct sched_domain *prefer) > >> > >> (I temporarily removed the Reviewed-by you gave me.) > >> Reviewed-by: Steven Rostedt (VMware) > > > > I would fix sched_domain_span() to take a constant and keep the > > previous patch. > > Right. I also considered it like you and asked it here: > > https://lkml.org/lkml/2018/1/11/106 > > But I didn't get any answer so tried to keep sched_domain_span() > unchanged conservatively. > > Peterz, what's your opinion? Maintainers, Peter and Ingo, I believe it would be OK, even better to change sched_domain_span() itself. But I wonder if you also think so, do you? > > > > -- Steve > > -- > Thanks, > Byungchul