Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp675866pxb; Thu, 19 Aug 2021 08:37:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5mRufnNdz9EI4asB4FsIQVdLJZljiNFPLciTg0nEzfnewTlXAV2k0SSvmaRK56XT5jQB+ X-Received: by 2002:a17:906:2cd5:: with SMTP id r21mr16098963ejr.435.1629387464337; Thu, 19 Aug 2021 08:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629387464; cv=none; d=google.com; s=arc-20160816; b=EihKI77nAp3qYir5yidHO3g5qXXBwxS8/GYg+qvUH3RCbqtjRQNqoIwD32RMdwMkHo wN1877+tCfB++uZicGdT5BoM+FFIqCvBYmT7Rm7J1HNw+//Ge90yXQywp3AVxrvTx+ei xphxuxqwGbwC7/cuyTmecssZJeHZE0EX30Qr6OcLRNCnyvkDS5amV+o2fvk/w4ABv7eN wLN1NsHeDPkYpafh97EGQCWi6xXwOkBsLLZ1vIIqx3XTJeXT2wzrusFEbki5pjawT+Yo XKW1R8+rm3LbCfb23KzSPVfwao1XgC2o9lalSGc5T73VmCuRkt3s1JeZkP1aZiGpFavq CjqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=h8Bu2sX4mQooXbRWe0x6sLuCvlPizN+9dv1SfrTEIoY=; b=RjCMb4JSz8sRMPprBksGrkhOLkFQu8YCAOrMRlOSvAsmXMmuyDy1V8TAKxDdqI5rAl Utdgaou9+WrudPkENZAhY5cok61X0ALK7u0mgYLLxJPahFZD5X3HLFrhqMbX7+Wb0r9k oorol5Hf0V58VwKNPKVAhmZDH9yIctFTW0KSfVCcodRpurKAZnrMQn5z9ACscYmWiI6Y NNqQsyn7Tno5ZrZopTj3USU3JCx1eqFE+qxP445QXkAKt0FgLrtwE2b+VYEuDQ+B1WC/ qKOJtk6N86btufu0udUwO4KQMgte4BrPsr6GXlvs5LX1aTUvi6MvsnhOxRpmjCZMBCZr mekA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GCkGQM+O; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si2288643edb.467.2021.08.19.08.37.16; Thu, 19 Aug 2021 08:37:44 -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=@gmail.com header.s=20161025 header.b=GCkGQM+O; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240269AbhHSPeX (ORCPT + 99 others); Thu, 19 Aug 2021 11:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238744AbhHSPeW (ORCPT ); Thu, 19 Aug 2021 11:34:22 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92DDAC061575; Thu, 19 Aug 2021 08:33:45 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id d4so13795081lfk.9; Thu, 19 Aug 2021 08:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=h8Bu2sX4mQooXbRWe0x6sLuCvlPizN+9dv1SfrTEIoY=; b=GCkGQM+Oc+rTglB8uAs1igR5f/9rJqSk+tvrlxWZl4vYARlNnLgeUrjuJusZzmob2C 9/EQtBirZWZpMPj7OV2oIVSvt2ipNyqgJObt5nzA6sSPMH06DoBniCLtmdwJfM3zXfEQ Idsyj/h2+GHTaEve8eCs+en11Wb6HoOK0c0M2vwLHNbyP1waB7X0/3ubjF8gpRSYKTSV JAGdxNb28b1bCEYKtCwwEhpmhikBh8flkpSzZ+GWO2T8K6T48aatentmFu0xvUtv63z3 QJiWNHpZNXvSiYCbHlqnisXvaYAMOr7k7YV573iFVcYch0/erH/xgwz47r49/lzVwCSv 5x/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=h8Bu2sX4mQooXbRWe0x6sLuCvlPizN+9dv1SfrTEIoY=; b=ctlQ+c1Qfkb+ATnZNnV8pEVR9gLXjt/5JImTBwjCFQE8roV8z1F/gqsAbHVNUhA2BK +OnnIjIYErZnGXwpgD8fbq3NQ3oZm8qR+48RhhDvp03GpwWpUQbig2p0CW0TvoDIbL2s kL6B+j4Wdc22wIKh/WFNoSzY7apYsx2ZETOBrecmYcsbxi84Zm1D+zKexnmOV9VO96uh crLREnJmqsNwOB2LtW6RmQG+P1ERKnJmHpH3eKv4CrPZgirsOEXOTVlaQOzN03fm62jp v3VMen0cGMurMLmSSAvbqtLSsce18QmAnlxoFVibFgqCghw4mnPPtJ8gCgzAj1j4mULW EYmw== X-Gm-Message-State: AOAM531Cv1ti6jGtKmkXfkgm1LgVLGBSECWMFHsmOlVin+PU1qyQ0Wek y0zZsMnDK0V5wdJdc9S9sSuz+sE292azCw== X-Received: by 2002:a05:6512:e81:: with SMTP id bi1mr10712658lfb.58.1629387223959; Thu, 19 Aug 2021 08:33:43 -0700 (PDT) Received: from asus ([147.30.82.254]) by smtp.gmail.com with ESMTPSA id j13sm338287lfe.48.2021.08.19.08.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 08:33:43 -0700 (PDT) Date: Thu, 19 Aug 2021 21:33:40 +0600 From: Zhansaya Bagdauletkyzy To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, tyhicks@linux.microsoft.com, pasha.tatashin@soleen.com Subject: [PATCH v3 0/2] add KSM performance tests Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extend KSM self tests with a performance benchmark. These tests are not part of regular regression testing, as they are mainly intended to be used by developers making changes to the memory management subsystem. This patchset is a respin of the previous series: v2: https://lkml.org/lkml/2021/8/6/422 v1: https://lkml.org/lkml/2021/8/1/130 Zhansaya Bagdauletkyzy (2): selftests: vm: add KSM merging time test selftests: vm: add COW time test for KSM pages v2 -> v3: - address COW test review comments v1 -> v2: - replace MB with MiB - address COW test review comments tools/testing/selftests/vm/ksm_tests.c | 154 ++++++++++++++++++++++++- 1 file changed, 150 insertions(+), 4 deletions(-) -- 2.25.1