From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E27BFC4321E for ; Thu, 1 Dec 2022 12:29:10 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id B4C1A3CC4B9 for ; Thu, 1 Dec 2022 13:29:08 +0100 (CET) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) (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 A98793CC488 for ; Thu, 1 Dec 2022 13:28:56 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id A71141430DEA for ; Thu, 1 Dec 2022 13:28:55 +0100 (CET) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B1CHHds027092; Thu, 1 Dec 2022 12:28:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pp1; bh=xvMF/DBe5Q9Q+mCTUZDjNgwrn0c+0mX4FmUzgYeFQCw=; b=Az1569/bJRjnFukiYYg/r+VHoDK6eitTx+FdBeuMQzIYPiAvfN5SxXpC8DkLUBVWp1JH dODv4WP5QDH7TtVUlBT6RouJXAU4qQ01QjyAKawaxysbpYFUmhnWddYOz2QfWJN1RAHX o5hm+B29IV0RxoOWNaMbVwZvqueSvFmrWzq6GHKk+wZe8WslFFHqNcVyl1/6DAi5jWUU FF3QD+n+qQClIRUZZrYfxGrsCsbe+skWG+cS2nrSkb0lGLI9lqkumgeT4yfwPAHYyHgX OmYvuksA2s270BTuzoOEu/noRKmyzYvXx08hJsmTn0gZd8kQtPp6Z+STNb/ImwtVnDc7 XA== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3m6v52g8b2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Dec 2022 12:28:53 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2B1CLlYR007632; Thu, 1 Dec 2022 12:28:51 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04fra.de.ibm.com with ESMTP id 3m3ae95a4b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Dec 2022 12:28:51 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2B1CSmJh30605958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Dec 2022 12:28:48 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 599AC5204F; Thu, 1 Dec 2022 12:28:48 +0000 (GMT) Received: from tarunpc.in.ibm.com (unknown [9.199.157.25]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 90E135204E; Thu, 1 Dec 2022 12:28:46 +0000 (GMT) From: Tarun Sahu To: ltp@lists.linux.it Date: Thu, 1 Dec 2022 17:58:36 +0530 Message-Id: <20221201122844.142062-1-tsahu@linux.ibm.com> X-Mailer: git-send-email 2.31.1 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: QlHkZylg52E82H0zCzaDC8gpurhYPjU5 X-Proofpoint-GUID: QlHkZylg52E82H0zCzaDC8gpurhYPjU5 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-01_04,2022-12-01_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 mlxlogscore=829 adultscore=0 spamscore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212010086 X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 0/8][PART 3] Hugetlb:Migrating the libhugetlbfs tests 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: , Cc: geetika@linux.ibm.com, sbhat@linux.ibm.com, aneesh.kumar@linux.ibm.com, vaibhav@linux.ibm.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" -- resending as a fresh series, [3] was sent mistakenly in reply to [2]. Hi, This patch series is in continuation to part [1] and part [2] This series include 8 more tests taken from libhugetlbfs. Background: Libhugetlbfs is not being maintained actively, and some distro is dropping support for it. There are some tests that are good for testing hugetlb functionality in kernel. These patches include tests from libhugetlbfs. ref: 1. https://lore.kernel.org/all/20221104162511.28658-1-tsahu@linux.ibm.com/ 2. https://lore.kernel.org/all/20221120191533.164848-1-tsahu@linux.ibm.com/ 3. https://lore.kernel.org/all/20221201120248.139396-1-tsahu@linux.ibm.com/ Tarun Sahu (8): Hugetlb: Migrating libhugetlbfs fork-cow Hugetlb: Migrating libhugetlbfs huge_at_4GB_normal_below Hugetlb: Migrating libhugetlbfs huge_below_4GB_normal_above Hugetlb: Migrating libhugetlbfs icache-hygiene Hugetlb: Migrating libhugetlbfs madvise_reserve Hugetlb: Migrating libhugetlbfs map_high_truncate_2 Hugetlb: Migrating libhugetlbfs misalign Hugetlb: Migrating libhugetlbfs misaligned_offset runtest/hugetlb | 9 + testcases/kernel/mem/.gitignore | 8 + .../kernel/mem/hugetlb/hugefork/Makefile | 10 + .../kernel/mem/hugetlb/hugefork/hugefork01.c | 108 ++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap13.c | 122 +++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap14.c | 156 ++++++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap15.c | 239 ++++++++++++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap16.c | 83 ++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap17.c | 103 ++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap18.c | 153 +++++++++++ .../kernel/mem/hugetlb/hugemmap/hugemmap19.c | 147 +++++++++++ 11 files changed, 1138 insertions(+) create mode 100644 testcases/kernel/mem/hugetlb/hugefork/Makefile create mode 100644 testcases/kernel/mem/hugetlb/hugefork/hugefork01.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap13.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap14.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap16.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap17.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap18.c create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap19.c -- 2.31.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp