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 X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30431C2BA2B for ; Fri, 10 Apr 2020 11:47:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DFAD020A8B for ; Fri, 10 Apr 2020 11:47:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=shutemov-name.20150623.gappssmtp.com header.i=@shutemov-name.20150623.gappssmtp.com header.b="FGTYd9ZK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DFAD020A8B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 74C3A8E0036; Fri, 10 Apr 2020 07:47:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6FC248E0003; Fri, 10 Apr 2020 07:47:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 639A98E0036; Fri, 10 Apr 2020 07:47:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0173.hostedemail.com [216.40.44.173]) by kanga.kvack.org (Postfix) with ESMTP id 491298E0003 for ; Fri, 10 Apr 2020 07:47:42 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 03442824556B for ; Fri, 10 Apr 2020 11:47:42 +0000 (UTC) X-FDA: 76691770764.28.wish63_261567a009402 X-HE-Tag: wish63_261567a009402 X-Filterd-Recvd-Size: 4381 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by imf37.hostedemail.com (Postfix) with ESMTP for ; Fri, 10 Apr 2020 11:47:41 +0000 (UTC) Received: by mail-lj1-f170.google.com with SMTP id i20so1703723ljn.6 for ; Fri, 10 Apr 2020 04:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=sIKZKvkKOfKVnvhnn37sRvniOncPpFeTUBs3cOx0KS8=; b=FGTYd9ZKEK/G10jkYdyhx6Ch8co8upFEhZBInbBuLHwsCb+Gv40W6obVDIRr5TcOMd rQUFvvHkvylwZw+kD8fGzIeWEDxt4Zy3RROcolQ7Ex2G4Bmw5pD21ExjoWnCTQyAwU0c blFpxTRNbFD3o1gh0nGU24kNPNt6SETZM2zC+buToQRFM8WZsT2RiSGYuLq3jJqhM/N9 knMGY+8tzpEhfZnwV5KrxaKO4vZ9BSdOldFoU5rEi1KiC28inzKNItecFvPM/6YjL4k8 4hWSunh+vSDlrOOWSUk4BHLyyTWYsuh+3uhQPYfx9PuU5jQh1wAZK6Ho/JRRpYr6saWE 9GvQ== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=sIKZKvkKOfKVnvhnn37sRvniOncPpFeTUBs3cOx0KS8=; b=o0xYj3t9yYojkcy+sbyeySLB68tJOf+3CXZ9OiQZbGjiBW4Qpfm3bzQ/p6hU4q9vTf qi5VOR9XaXkD0cParqQksaZ7HnwhDTbCDYNfqUN/b32qyXTW3QfX/+fA0aF5MblgmGx1 lljRi06BJDOwENnJZOEo6ZPsCQGgK7M/5AWQx0yMcJ8CDOV+dEhYACaRgHBWfw6YSFoL n9LK5fBJo+dSZYeIfSiY9FGqnp7QRxjtT1G548126rCHLqG1zbECe2+n7Vv7SCqFxpUU 2OUBaT3bGgN6k8iwl9MLdwwHXQ9nlHT4g0FcH7wntqLP4fyt+dgoLvODlusk0FOZLV0U IKIg== X-Gm-Message-State: AGi0PuaGc65jk/C97mWr+eoBp5AgmUFyOhOvRIlTMIAsN1+zBuvIPIOA mzRPCzHZGlXK4Hi/R38Iy084bApvun0= X-Google-Smtp-Source: APiQypJErK4laJ0jEbX51VkYXoZ1N52Vv9Cd0MUOov966QVqD4RbKCHGUSLOyI3CGErnytpfk6Ns/g== X-Received: by 2002:a2e:8795:: with SMTP id n21mr2883563lji.71.1586519259791; Fri, 10 Apr 2020 04:47:39 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id c8sm956193ljd.70.2020.04.10.04.47.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2020 04:47:39 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id 11813102110; Fri, 10 Apr 2020 14:47:39 +0300 (+03) Date: Fri, 10 Apr 2020 14:47:39 +0300 From: "Kirill A. Shutemov" To: Zi Yan Cc: akpm@linux-foundation.org, Andrea Arcangeli , Yang Shi , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: Re: [PATCHv2 1/8] khugepaged: Add self test Message-ID: <20200410114739.b2ndracbyhsdmanv@box> References: <20200403112928.19742-1-kirill.shutemov@linux.intel.com> <20200403112928.19742-2-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Apr 06, 2020 at 10:59:52AM -0400, Zi Yan wrote: > I ran this test with all patches from this series applied to Linus=E2=80= =99s tree, but still see several failures. Is it expected? > The config file is attached. Let me know if I miss anything. BTW, I am = running in a VM. >=20 > Thanks. >=20 > The output: >=20 > =E2=9E=9C ~ sudo ./khugepaged > Save THP and khugepaged settings... OK > Adjust settings... OK > Allocate huge page on fault... OK > Split huge PMD on MADV_DONTNEED... OK > Collapse fully populated PTE table.... Fail I was able to reproduce the issue. And it's fun failure mode. How did you get the test case inside the VM? Copy-paste source using 'cat= ' or something similar inside the VM? It screwed up CHECK_HUGE_FMT and CHECK_SWAP_FMT for me. Double back slash was converted to single. As result check_huge() and check_swap() gave the false-negative result all the time. Could you check that the source of the test-case is not mangled and re-test if it is. --=20 Kirill A. Shutemov