Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1476276ybj; Fri, 8 May 2020 02:09:25 -0700 (PDT) X-Google-Smtp-Source: APiQypLwtxCcQk5GNpdA0cjVh2PUW5zDOGIAJcZcQZv5/jlX5uHUUQuzKR39LUFjhN+sg6ayFpm0 X-Received: by 2002:aa7:dd95:: with SMTP id g21mr1257997edv.148.1588928965560; Fri, 08 May 2020 02:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588928965; cv=none; d=google.com; s=arc-20160816; b=HtNDuYY2+w9JRopnPZK2J/61m+Cf5Supyb14Jq2forNDoPUdLPZ/XBZW0wai+hBITi xSEv8Xnw5/R2OIGQGk1M5A0wZkibZi7s8zux41rKM1XaarrocQlAe3BmR4snnnvXq7HI ZnsQASPPNVjj0GhwW34T/OAC4ZTfEVAP8TxA0fP51UdOaTB1CEC+8+//JdoOFa7taQ4i RJ5Q0rdAPYW2V/ejl5/mUTCMzdoMF58x81Rk5Agy88Rp2PqDbtVKiUR29wtS3NLReUgx dn0DMbJ3bQaztSh0kEcGy42jwaHfwi86jDtCvof8yWBHaqhRibSsrvSfGAudgkwwJYk6 Wp9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=0CqA4loPPF6E9eRXK//8n8vhiVSDlCCFO/sM8CaSqh8=; b=uVzC0OPvFVtPd57w44mJQa+sTy4FqDDfcvc6YoEMmmg/XTvg4Ul34h0CVMyFW+o3WH XPVAB4Rw3t1DdPNt3WoEyIuQJ16jAf844O6NRB7hvN5AF6FdS/ozHBoiMbUc12Zt9umM 13Bz5iHe1zM2Jlk03EQf5hjTPZjt8utSpDfQ9U9FVfQQTID+TBpS39fb6PtK6se80OV6 qXHzoYLiFdbK+ugI55FzmPkqbRup7DOvZY77zXY9F21qCmirWd5J5q970QZNV0FFVuV0 QTtTxZ14XpT3AlPanMU9PpuxJi9elSwU8PTEMO5EFKZ8mF9utdR+95gR6Y1nRWhGlOnB C3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=WRAF6P7L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si639461edm.113.2020.05.08.02.08.59; Fri, 08 May 2020 02:09:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=WRAF6P7L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726325AbgEHJGW (ORCPT + 99 others); Fri, 8 May 2020 05:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgEHJGW (ORCPT ); Fri, 8 May 2020 05:06:22 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4090C05BD43 for ; Fri, 8 May 2020 02:06:20 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id h4so9432656wmb.4 for ; Fri, 08 May 2020 02:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0CqA4loPPF6E9eRXK//8n8vhiVSDlCCFO/sM8CaSqh8=; b=WRAF6P7Lzru/RsZhpQYVK5RwPfEBjpOEykwS4VrYsy4B//Gt6tVM2KVh57a55HIaM3 1W4mLA5CwGi9YD0K2VSlC/AUQv+LqfM2ISYrHX7bfEzmDA18RFN88UwsibUkQ2QshHoK ss9zWRXeWSW5u5R8LOVDLiQr76U3G37B1CJt0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0CqA4loPPF6E9eRXK//8n8vhiVSDlCCFO/sM8CaSqh8=; b=D1n3hMbBV9vrFEjadwnNgONCdEDBj2rRjlbT6ErSk+DcPaAUl7TTUI32ykLKw78X9N lenxZzw5JIn/yuSPtN+3RnQqnO8XLQecdMzppt7Hoff7OSlkcGatkuqwpVl+Td9yiW9k ppYfDZw5pp3Ut/cetjmGvPi3BSBvw3J06eLBCk0Q+s75dd6kc5hpRtJ4czLAiMaND9lo diLD2UgCjxO4qgzIfX5jtL6sFGNGpYzfp+rmpS+jAzh0HjEUCYyLA55pRW5VTOmJtIww 28iAdgqkNAqBhLFeVh+lfbCVX0Ye3CzDBEG+bwYF49o49/00yfnDtlJDC0rtc7MFiQ9j PIvQ== X-Gm-Message-State: AGi0PuYKDo6bKBhxSR9N+dB7zQRJUXlu3p/dM2jbfy5ZLlOVf8TLJMj7 vmb5jSocR4hcgFrvjcwm2e8ozw== X-Received: by 2002:a7b:c5d3:: with SMTP id n19mr7929862wmk.21.1588928779186; Fri, 08 May 2020 02:06:19 -0700 (PDT) Received: from [192.168.1.149] (ip-5-186-116-45.cgn.fibianet.dk. [5.186.116.45]) by smtp.gmail.com with ESMTPSA id c19sm1981766wrb.89.2020.05.08.02.06.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 May 2020 02:06:18 -0700 (PDT) Subject: Re: [PATCH] sched/fair: Return true,false in voluntary_active_balance() To: Peter Zijlstra , Jason Yan Cc: mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, linux-kernel@vger.kernel.org, Julia.Lawall@lip6.fr References: <20200507110625.37254-1-yanaijie@huawei.com> <20200508081629.GN5298@hirez.programming.kicks-ass.net> From: Rasmus Villemoes Message-ID: <005a3e5c-9362-dc63-4bf0-7ffdb1b2949d@rasmusvillemoes.dk> Date: Fri, 8 May 2020 11:06:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200508081629.GN5298@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/05/2020 10.16, Peter Zijlstra wrote: > On Thu, May 07, 2020 at 07:06:25PM +0800, Jason Yan wrote: >> Fix the following coccicheck warning: >> >> kernel/sched/fair.c:9375:9-10: WARNING: return of 0/1 in function >> 'voluntary_active_balance' with return type bool > > That's not a warning, that's a broken cocinelle script, which if these > stupid patches don't stop, I'm going to delete myself! I was wondering why I got cc'ed here. Then it dawned on me. What can I say, I was young. Ack on nuking it. Rasmus