Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1834664pxb; Fri, 18 Feb 2022 17:03:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzy6qf2gEM8fnwF4Pt+CJllnsqW+OVne5fSLUgvYqF/SNGH8u8I63TjWXk6OIxVoI+gyJSU X-Received: by 2002:a17:90b:3696:b0:1b9:1cc2:2c1d with SMTP id mj22-20020a17090b369600b001b91cc22c1dmr10789873pjb.3.1645232627747; Fri, 18 Feb 2022 17:03:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645232627; cv=none; d=google.com; s=arc-20160816; b=Mn2zH6ChjmKDwOsSrhYPgW7s7/z7lC7RcjriO/LS2lYRw+4f6D635ztW9yZc38YNn9 uv9Xko7aj+VNnnEOz8uNhLmW5IWwjsVh0NAyiFsNwJZdF6HXqv2xH11uI9AaZ9ERI0et b00uKETcF9okUrQbxzXWC6n/AljIhW9BqUa7OUc7rZRJtk1rJH5cXqbzfhGUPn6s0W1i PFvchsrln7Ke49g+0KCwVrizNIlkfLLxWgcs3DOrBcRPd8LbARnoGZ8V+YX3RBFxii8q bPu39sR7FctLrM+d8iTPGNC//VU2MiOGiHBzR2wnfVcVikV0BxLc7i7AE+eMRt7P/uH1 mqEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ov444w7dABSwi4r2TCRkfeEWs8ZARWwEHZMMyU757uk=; b=IdtFsQxC4ElU4N3wbSH/+3wSdCTP2Im5qlqtWT7xpezCPASA0cHBAe9D36G7Wg1D8A RYszYFriNIYMy3OgmjfS8ycdR56M/SKAQzYdkAsbBxCHG+Plh3lwRn5DcOuEoZF/VhcT N5O8avcqw/vXrndWF6XDEmvkenoiw8hspIKIs7C3Xmk22pDLqSjfayyAj1mcWlrhsjKR 67jsKQnF/ydMlKU4liyyppfe2kY5yyKiGFk/CmoMKOPhSxqO6DtJJSBIsdrz+DUxLRDs vrKkGu6yMo3OGsmszTrP0VZqkR+IzaOkIw16m4MDD/ho1d4E0kSc3UYeYRHJj93AZTuf k9Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Z3thpX4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2si108054plg.3.2022.02.18.17.03.26; Fri, 18 Feb 2022 17:03:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Z3thpX4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240106AbiBRWUZ (ORCPT + 99 others); Fri, 18 Feb 2022 17:20:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236819AbiBRWUX (ORCPT ); Fri, 18 Feb 2022 17:20:23 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2FEB2DA91 for ; Fri, 18 Feb 2022 14:20:04 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id c14so5522566ioa.12 for ; Fri, 18 Feb 2022 14:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ov444w7dABSwi4r2TCRkfeEWs8ZARWwEHZMMyU757uk=; b=Z3thpX4xxbk8lHOctIqVlaL3kQYFY35ABYgj/kfvYgFWCEYmingxv9EVu+rMx/tQjn /ETpDpvcQoOHGLF+Sl/1jHS+e/qmN0bQOrecC4myXALsJnGNfeKuGhUkLtqClspb4ow9 xqUDlWjAEt/kE9D+fSbBABDgo4hHcKtK4Wyqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ov444w7dABSwi4r2TCRkfeEWs8ZARWwEHZMMyU757uk=; b=rucjLc1K8hRLO9ezYXz9bPsFZoF6ZiugSkw2UuYKumtkYW3N2EEZyrJsf6LR0lzURM MqxTab9xR5nszdDQMLy0TK3xpXXTJPvjcafju+G6gmLFr0utrhCMaUftG2VW6Mtw0li/ K0RAmb0/taAEO/iRQ5f75vMWh9FZTlBS+XCB9zS+pJVB4N6qesvFocK5SZTvRjdyMUwF EgFniwSPWwNK4PLr7YfnFtXAo6BH11Na0h9dq27pG1tAYqBNV/hyDcT+1Tx0X8uv5Ymd RovGxHjTdxREHOYK8XTYJHjzMhBCgDTH8wkpebpOpfW7xQmhcnhmA/vDc96NtrmNFAi2 bd7g== X-Gm-Message-State: AOAM531XJ40AF8slV/DZQDih7mctO+O0jSS8nT9vw60ftcTrprSO/HWp gQIo5p0+YCCegsBPdwv/M3MmbQ== X-Received: by 2002:a05:6602:27cc:b0:5f0:876e:126b with SMTP id l12-20020a05660227cc00b005f0876e126bmr7123973ios.129.1645222804355; Fri, 18 Feb 2022 14:20:04 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id o7sm4372727ilu.83.2022.02.18.14.20.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 14:20:04 -0800 (PST) Subject: Re: [PATCH 2/2] selftests/damon: make selftests executable To: SeongJae Park , Greg KH Cc: Yuanchu Xie , Shuah Khan , Markus Boehme , rientjes@google.com, Andrew Morton , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20220218082428.11699-1-sj@kernel.org> From: Shuah Khan Message-ID: <9a7f8d0b-3f0f-8584-6c12-423b0d5a979d@linuxfoundation.org> Date: Fri, 18 Feb 2022 15:20:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220218082428.11699-1-sj@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/18/22 1:24 AM, SeongJae Park wrote: > On Fri, 18 Feb 2022 09:01:11 +0100 Greg KH wrote: > >> On Fri, Feb 18, 2022 at 07:52:54AM +0000, SeongJae Park wrote: >>> Hello Yuanchu, >>> >>> Thank you for this patch! >>> >>> On Fri, 18 Feb 2022 00:10:17 +0000 Yuanchu Xie wrote: >>> >>>> The damon selftests do not have the executable bit on. We fix that by >>>> setting the x bits on the .sh files similar to other existing shell >>>> selftests. >>>> >>>> Fixes: 9ab3b0c8ef62 ("selftests/damon: split test cases") >>>> Signed-off-by: Yuanchu Xie >>> >>> Reviewed-by: SeongJae Park >> >> This type of change does not work outside of git, so why not just make >> the tool that calls these scripts not care about the executable bit like >> we do for other scripts? > > Actually, we made kselftest receives scripts having no executable bit[1], > though it still prints warning. I guess Yuanchu wants to remove the warning? > > To remove the warning, simply making kselftest (runner.sh) stop printing the > warning message might make more sense. Nevertheless, it's also true that > letting some scripts have executable bits while others not looks inconsistent > to me. That's why I left the warning message there. Should we remove the > warning from kselftest and remove executable bits from other selftest test > scripts? Or, let the inconsistency be? I have no real opinion here, so just > wanted to hear others' opinion if possible. > I don't recall why we decided to add the check in runner.sh - let's keep them consistent with the rest of the scripts. If we get rid of the check, we can make the change then. thanks, -- Shuah