Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2924971pxy; Tue, 3 Aug 2021 20:13:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUsjFPHNuhplgZwdruz0N7zFrGQ5nz5a/pu290aZKB4EdZCp8STFzimGAcS9DY5OZgrfdg X-Received: by 2002:a05:6638:1251:: with SMTP id o17mr10649108jas.15.1628046822292; Tue, 03 Aug 2021 20:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628046822; cv=none; d=google.com; s=arc-20160816; b=yaHVJA6fuV864pQQIH+1jZASJdtOVNxjBPal+KWfeXyFE9Fnsu8dr8v5DJwC6qj869 5Je/ZI1AGAU2c5G++g6Sk5t2G9jIvP43/mGF7zaU2mdZsGJxvXqObmuFClImaKnB7nfl TIdpAib0KBrFeq8eqLoVDY+LLe0Z0u/yzG5ZlMQFzX1LcNYO/ysWFF0B7hanpO9HMCU5 0FxVFutmTajc7UIrGa63yilX6o4oweH92N3Edp9zaofpVpcHarCR2YCJXCaxlGgDwp1q PuC+hUZ0278hC95IflB92nLlUh5VPu6wLKYYVFC1nViDUZ5NdANbhckijB3vqNBpQc4M 6S3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MwYC/1Gaei+t62tNQY4YFdCc3ENCGWe2M7gmqksCaew=; b=ZrYgUTcT2tElFC0KbMQZnfqJVVMGR6E411vTocdQj0tGHqXx86CQol5d+W9YkGKHeR sCAA7we9arRVNwTlBwjH8aHo29oKwohYu1qqTsx4VlKhWw7b0/Us8QDQDLiFGSsjrtey Mpaw87OYLAgiD/Fe+3XHvTLpy/nRRRBE8Dcp+QFKLVTIdB2T5V9t+KSrBo9a8Kb50Gpf VwH2wCATELArrAyCKyTDdDtGfMjit+kyfLrKOHutzfE5UHgqcufTQL/U1q/NO7XUjW96 fWn6i+anJSpUCl4hxh+AWDkzsV9hjA9k3QVdrZyQtlvT/h21uTlnjc7bkwQAn6puA5Dp HWPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=KHb4cAoh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l15si991159jad.101.2021.08.03.20.13.29; Tue, 03 Aug 2021 20:13:42 -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=@soleen.com header.s=google header.b=KHb4cAoh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232772AbhHDBzD (ORCPT + 99 others); Tue, 3 Aug 2021 21:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232506AbhHDBzC (ORCPT ); Tue, 3 Aug 2021 21:55:02 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D30DC061764 for ; Tue, 3 Aug 2021 18:54:50 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id g21so1505227edb.4 for ; Tue, 03 Aug 2021 18:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MwYC/1Gaei+t62tNQY4YFdCc3ENCGWe2M7gmqksCaew=; b=KHb4cAohmBF1wfyoLs/rl9cOV9WjJt9nG6P38g00AdqrxqLV5mua3SEFz/TSWaLCqs oH4d8ZTRnjv+7LOQHJ2pBW+uZuSvZRByXOwXRnPc39/EERKz9KXuz/K174nu9vFg+ZQK TL4g2fX+oge1hfeOB9BCHoi7Dvgl96FMp4AA8b4V4JkQBwmGssIOwB+yjnSeH+vR/6gn Damiwu22iVbNL+LuUSuyUQC30j3SUFER1qnBQwYcVsALj8ngBP3vTKh06LJnT+y+3Z3H eSnmKh09Cm7+6J2sRBuYoIyG4hnKb9KMoVUQ+7zdC2w7KL4BPXZAxUHb++++iemZVIJm MIWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MwYC/1Gaei+t62tNQY4YFdCc3ENCGWe2M7gmqksCaew=; b=II5KIpPNG7Dc/pBlqd5SgoNgd1itDivhhLoHRTwR1Vm1eAuoQnm1Or17QmLRALL1C5 krX0xZlwtvxXHFCyCd/KiVaY87SiNx18YEF+Iicv/CIW0Rp8KNeTiahDgaK0AFcemQWr sJxf2AKg6Iqd5ZQduoD1tW1xqQ3Yx+LMzK69tnF95xfWfT3Fq7FtzN4jFhW4w1UeN/iB ZT62f4sb6vU7rBCbg8WSeFzne5RDdIhcFc+Wd+xkjIR7Gp/UWeZyaaIOX/05TMoiVKq6 Ko17ls9gLXAVo4yzWnW1AMWagpwUp1ouRLFLGwC2BZPefpZuhdpS4cYL0tatQl7c6x25 JopA== X-Gm-Message-State: AOAM530fHfDvsSZpVMnpxCPxXO9LPxY1H1p7MTXEa17i8yEOkUIz0lg+ BHvujXC0oW3jGym4nQ5Mlf7rtXNIi9+mP6SRB4WIAw== X-Received: by 2002:a05:6402:2043:: with SMTP id bc3mr29167190edb.62.1628042089213; Tue, 03 Aug 2021 18:54:49 -0700 (PDT) MIME-Version: 1.0 References: <90287685c13300972ea84de93d1f3f900373f9fe.1626252248.git.zhansayabagdaulet@gmail.com> In-Reply-To: <90287685c13300972ea84de93d1f3f900373f9fe.1626252248.git.zhansayabagdaulet@gmail.com> From: Pavel Tatashin Date: Tue, 3 Aug 2021 21:54:13 -0400 Message-ID: Subject: Re: [PATCH v2 1/4] selftests: vm: add KSM merge test To: Zhansaya Bagdauletkyzy Cc: shuah@kernel.org, Andrew Morton , LKML , linux-kselftest@vger.kernel.org, linux-mm , Tyler Hicks Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 4:56 AM Zhansaya Bagdauletkyzy wrote: > > Add check_ksm_merge() function to check the basic merging feature of > KSM. First, some number of identical pages are allocated and the > MADV_MERGEABLE advice is given to merge these pages. Then, pages_shared > and pages_sharing values are compared with the expected numbers using > assert_ksm_pages_count() function. The number of pages can be changed > using -p option. > > Signed-off-by: Zhansaya Bagdauletkyzy No comments, because I have already reviewed this series for Zhansaya as part of the Outreachy internship, so: Reviewed-by: Pavel Tatashin