From patchwork Tue Oct 4 18:20:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 1686071 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=ZXfHOjut; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MhmKK0bQBz1ypH for ; Wed, 5 Oct 2022 05:23:01 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 6E86F3CAD32 for ; Tue, 4 Oct 2022 20:22:58 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [IPv6:2001:4b78:1:20::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 0200B3CAE01 for ; Tue, 4 Oct 2022 20:21:30 +0200 (CEST) Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 8915D1A01100 for ; Tue, 4 Oct 2022 20:21:29 +0200 (CEST) Received: by mail-pf1-x44a.google.com with SMTP id h1-20020a62b401000000b0056161cd284fso4340092pfn.16 for ; Tue, 04 Oct 2022 11:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date; bh=sQ3K3r5hjqhLaUUz3ZNbDvyjCO2m/Rb68WINFoRE5mw=; b=ZXfHOjutvMkQ1xFkEPQMP6AsIVtgBTNIug/UXQWUfm3m7cJWgqoQQrLhZUuwfzfaiz i2iNzAgkPA/TF9xMKJbdjoFJNKdOL4NYUm4uEb2yOi9vwPw3ob44EJsOts6EUCrKFX3Y mAHKnftVlJtYsq8itVzRT7BQZdOrDxtNizJg8XrEMfAl/M6zfXUA5v1G8QQ0w4r6KTrg MYD+VUrqE+JSDlvcVKgnpXzdOvtP2smh+X6SJ96Ui4UtCncZJ9sMR3cfJjuMQpvjzzcp 3OR4AyQ08tizQFvw78XXs1KYlNmXEBAUHRlMVMEosP1Jv7GcpfyvY+R02KA2M3fZLzOG CK2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date; bh=sQ3K3r5hjqhLaUUz3ZNbDvyjCO2m/Rb68WINFoRE5mw=; b=mlXFlFXr+TqiCFwa79w6nAta8676U9v7I1wFUKbpmLjK1C1vJM/EUCTFxuSdOTG6Ks X6VjCc4CL5olgxc4AhoRDLe5FGFKPpRM18rFchNReW0Hf/cjO51bfYegbQFy6IOWkhMq jQS39ZOk3JSbcil2ZVV3Z2GawWSRC83Qin7MtXvp/B+EhIZTDoxIKtHn9w61fxIjOi2/ V/ttutw/4bOiCtpPfOd46whmLaDGOU0jHcqlEveYAV9+pDoLyOyH7Zeku0w5FPi/OnHT hMB7dzdRpFcttgZ4+MUVO2GYpDGnPl1FhEqOkybv/9cl8Twz43B7zyISWN1ZMxKLI9mB wA+Q== X-Gm-Message-State: ACrzQf1wi3snabUT2T4jIvux9ZMpDDlXM9j6ZZ6bu5cW8HM/e4f9ZpKR Mr7nSxbDP1tFR+tyBdna9MG4zhj2zyFcg3HGOKEzUowlyMUD6FLh5tW9vMI033XbatB0CCcWEwY JpunaZHRFxUub4AUpW20FHjLkdSoNFps9F5kcKjiBv8bkeDDWlRKjG0V0 X-Google-Smtp-Source: AMsMyM4/5HBzgPBw8azTkKcSoquIvr3upoid+j6G9plcVnLzX5E5kyQNHXuPzr/aQl+o2aLzUl3ZFU6hMis= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:768c:b0:17a:ec9:51da with SMTP id m12-20020a170902768c00b0017a0ec951damr28568136pll.159.1664907687892; Tue, 04 Oct 2022 11:21:27 -0700 (PDT) Date: Tue, 4 Oct 2022 18:20:39 +0000 In-Reply-To: <20221004182040.1859774-1-edliaw@google.com> Mime-Version: 1.0 References: <20221004182040.1859774-1-edliaw@google.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog Message-ID: <20221004182040.1859774-9-edliaw@google.com> To: ltp@lists.linux.it X-Virus-Scanned: clamav-milter 0.102.4 at in-3.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-7.4 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-3.smtp.seeweb.it Subject: [LTP] [PATCH v3 8/9] mmapstress01: update license X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Edward Liaw via ltp From: Edward Liaw Reply-To: Edward Liaw Cc: kernel-team@android.com Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Edward Liaw --- .../kernel/mem/mmapstress/mmapstress01.c | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/testcases/kernel/mem/mmapstress/mmapstress01.c b/testcases/kernel/mem/mmapstress/mmapstress01.c index 99ab0d64e..9eced3526 100644 --- a/testcases/kernel/mem/mmapstress/mmapstress01.c +++ b/testcases/kernel/mem/mmapstress/mmapstress01.c @@ -1,25 +1,10 @@ -/* IBM Corporation */ -/* 01/02/2003 Port to LTP avenkat@us.ibm.com */ -/* 06/30/2001 Port to Linux nsharoff@us.ibm.com */ +// SPDX-License-Identifier: GPL-2.0-or-later /* - * Copyright (c) International Business Machines Corp., 2003 - * - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See - * the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright (c) International Business Machines Corp., 2003 + * 01/02/2003 Port to LTP avenkat@us.ibm.com + * 06/30/2001 Port to Linux nsharoff@us.ibm.com + * 10/03/2022 Refactor to LTP framework edliaw@google.com */ - /* * This test stresses mmaps, without dealing with fragments or anything! * It forks a specified number of children,