Received: by 10.213.65.68 with SMTP id h4csp1421030imn; Mon, 26 Mar 2018 07:14:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELvwvbQ4QDclk4TY6T48fxpy3AhaXwR467Qef8mNLtS2xgYlr7fOtRO0kVCx/BN5inQZYM+o X-Received: by 2002:a17:902:1e2:: with SMTP id b89-v6mr28748447plb.389.1522073654696; Mon, 26 Mar 2018 07:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522073654; cv=none; d=google.com; s=arc-20160816; b=BxQCXQPy66Hg1wh8PLSlveYq9kzOQIWK4E8Bs1HXvRXUiE1mNxMEDblztxEfGgiCHN ddqe7PH2xcVG3PXMCVkpsU+AYzTx0KqPsrguY7MsclcoDFZDTM+Otl5wTjEEOHidoNI6 voYg0+GfJd1wo4q4fmxlqZVmjieVjDTBtllfQ+TC1AzD21mKDbJUKXFR94t0NhHz1AvB MgJ7fCVV8NU3rPcKRgHQ3jOzpqi3uIpEFFSq3FQKJpvBx71+n9DBh3tAtwJ/Ankqx85f gus98nxxEpOb6Dai7B9+FgLJkfM5tRT8QCsgin3lwe7NGAdwSMTXOYyrzKsxdsSAZb6e l51g== 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:dkim-signature:arc-authentication-results; bh=DV0XljT+VpLgutsVJsbTAVWAPtXZsBZeEaJ0JEY4fSE=; b=XYdp1MUsyIAC1suh4glSl5Dfh8JF4UXg7JDZ2mNfs83TAH+5/Z2gSA9rkoB0KtGNm5 d4i9dtlF2isY1+QY4ntW4gKb3JcehKJ/qpEVADr+Tg0qVw75/7YUPmGiqWGqTZpbkDXt PUscJDWMsRTemHpwSESJ/MnPdrPJ09K6NtV66EMsVX088hkXv6jTQP+UfKb6lQ4EXeU9 OiRNaEIUoodUj+FtFBAw7pVJ4iYcpfpIW/ugkpJg+v7Vhc/3hjuaiDNQGEWvQ0YwN+3G G1tUOjodXJgvVBIO/36iR8hH/bRdxRyD+wcjaRihEndEfdHWsiBRdlIoWlQs3uB7CC7R QyJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=joQIA+WD; 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 j2si10235936pgc.664.2018.03.26.07.13.59; Mon, 26 Mar 2018 07:14:14 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=joQIA+WD; 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 S1752192AbeCZOMR (ORCPT + 99 others); Mon, 26 Mar 2018 10:12:17 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:45152 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbeCZOMP (ORCPT ); Mon, 26 Mar 2018 10:12:15 -0400 Received: by mail-yb0-f195.google.com with SMTP id k199-v6so1094529ybk.12; Mon, 26 Mar 2018 07:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DV0XljT+VpLgutsVJsbTAVWAPtXZsBZeEaJ0JEY4fSE=; b=joQIA+WDuGZFIlaYnCdrhzFhm++KlY5ZPBF62ycUv4Z8M0UbMviOEe4oNW2InsowIy fRgFPCo6LQLkO/6vcetv8flm+Po7U4MCPf01W3mra63/c6MSVxVqaPtoKZwt8JWSVgD/ BWnQMDs2jBa33sTwWOj5CRaqHBFvR17/fRm0YHNtA1MCfSMDdTT1WwmxGY7fVRISpbuv I5a4MAG5CLQjzGdJTZOZm/euYlG6Qw2Su+4V7iWNh27VulCFELdC6JDqocWpUjiXvSyz 0zl8n58mEqyuqsVlVeIuAoiamzmXeBKVKxBzRhDj0q2hClthJWQOzbDamK/QVf1skAOF E3Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=DV0XljT+VpLgutsVJsbTAVWAPtXZsBZeEaJ0JEY4fSE=; b=m4srVk9IVHf9BOXxPNqACSt6RtzYR0/y2PqkUoFUKPBXqlKeUrKxgIAxz5uPqm/dQ4 B/fT8zzfxbDvnuqH+6riwnhZFnvH8lwAZZamV1r8Q/56II9iQzCe+Dc5QP9CHxw439Cv 0A1F421Q9XfPpEyWPPbzmC07kepEQeQIu2K55tsutDzVLc2qnVksixlEm6Af5wiJBucD V1D4GFNe/d+umz5meIQVmc/c/UG7eZBoFh5vXuzkYgIeJSjWrGgGFWmLhb3jLCc/Ubf4 EFQ5n4p/47gg/WZj1Z2OWcL7Etxhzxesk5Zes43Ua/XxFun1BzEBCqfNfl1F1q3XI2YY pF/A== X-Gm-Message-State: AElRT7HrhsBwX8bzNgp8EuNd76OIGPoDA6wcPPzeOB6cZVVg/BxUcMl1 hVkijcIfTT1yjfT0Xq/9Vzo= X-Received: by 2002:a25:d985:: with SMTP id q127-v6mr23097464ybg.299.1522073534810; Mon, 26 Mar 2018 07:12:14 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::3:ebeb]) by smtp.gmail.com with ESMTPSA id x9sm5985073ywl.80.2018.03.26.07.12.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 07:12:13 -0700 (PDT) Date: Mon, 26 Mar 2018 07:12:12 -0700 From: Tejun Heo To: yuankuiz@codeaurora.org Cc: cgroups@vger.kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, pkondeti@codeaurora.org, cgroups-owner@vger.kernel.org Subject: Re: [PATCH]cgroup: __cpuset_node_allowed return bool Message-ID: <20180326141212.GI2149215@devbig577.frc2.facebook.com> References: <0fee75e4a1b12f5fca30e04306a95788@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0fee75e4a1b12f5fca30e04306a95788@codeaurora.org> 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 Hello, John. On Sat, Mar 24, 2018 at 01:05:50PM +0800, yuankuiz@codeaurora.org wrote: > From 304cec1cc42255fbd9e231a810f4eea20ab74b90 Mon Sep 17 00:00:00 2001 > From: John Zhao > Date: Sat, 24 Mar 2018 13:01:32 +0800 > Subject: [PATCH] cgroup: __cpuset_node_allowed return bool > > as a bool, __cpuset_node_allowed(...) return should be bool. So, as a minor cleanup patch, this is fine but can you please soften the commit title / description a bit? It doesn't have to be bool. int is fine. bool may be marginally more readable but that's about it, so let's please make the commit match that. Thanks. -- tejun