Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1354369lqa; Mon, 29 Apr 2024 06:26:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdgSuXHi7Oob3mDzO4wnU62viNbbU4JkJG+rH8VUDkB5rC+f9t7zYJiNmQd6fNhPLX6o7XVIe/uVeu1cWJolktJytGijEHKd34RzMyVA== X-Google-Smtp-Source: AGHT+IGCzcZ7CFvgy438cT6Tpn3NgT9FELfiXUfQbeHHWT9KySVFFMnAP5+S1ZDGqMX26Ot9Pjhy X-Received: by 2002:a05:6122:4691:b0:4da:e977:1fb7 with SMTP id di17-20020a056122469100b004dae9771fb7mr7971087vkb.15.1714397198670; Mon, 29 Apr 2024 06:26:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714397198; cv=pass; d=google.com; s=arc-20160816; b=JlijZj4UZq7ZpioxwzYZOqbIQdSRRs+fkD7gRyk/A41Gp0HdKKN79mwPUoLj2qbIsU 5RJMacifIGmoAyM5TeI8WDXtYaNxRC53mga6DgWjGDCxkagQHZkbO/Kw8Y0s27Bl6jkE CuouvFutIFEJBrXDPkKFdPZraG6cfJcKdt8OAg2DY+/HJxdk5g18m1sX+J9KgWkgTMCd swBAIb2JUCPEcMdIdkQUVGwdeCy7tfi4fmtSoVwkWumtlj4RO/2gsi8dfnVTEVv/b+Lv j6i/Oafg0RObscSe73CrwicrNpjYA4DWVnJKee946ShE8fUqDlLDNGMmemZdbmoZcj61 +2UA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=0gIVyldPn8MVMDBzhE2sqz8u4+WJFxHqSQpWy/KuHHE=; fh=jJrLvn9E1GJrNqN5uNEQhIAekrg9jCLjraooOqrEVz4=; b=b+QmHCSnu8N2pa/g6OX2CRWOlIXvXNUZQUNK1OHKkbSZPS/PPOteEOMBqmDyJSf1cw GY00yijOWicscWFNKIMXnbruYPsQDrjWSUwA64SqJON2ML9HuwIPn1qXoYdPVgcNvFOV IECw9938B+OgtA60ZuCeaaSPMtXsj6MP+NJM0EgxZh9w5qyt5boTfVz/dMcBHXJ1KgAe 8CTRSHjjd0YkwON59z1AXV3L6qhWdChrS9RWO59YCdGsokYbMC5fgsVhQwk8KlSWYw9R d1ZQATxA4Mkjhmfh6/63NVz9gV/ddmiacK2ZMpJfcKiPhjnHxmvwmQHQKIkiHfE2Fbmj Yp8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CYcigg9u; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-162364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162364-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dw1-20020a05613028c100b007efe3c80bffsi919693uab.228.2024.04.29.06.26.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CYcigg9u; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-162364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162364-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 54FA91C239C2 for ; Mon, 29 Apr 2024 13:26:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73F0F67A14; Mon, 29 Apr 2024 13:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CYcigg9u" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9890756B67 for ; Mon, 29 Apr 2024 13:26:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714397195; cv=none; b=cSamjatLN/+LDlof7MzSNA0sVpL+PuTOoabOU4XNsZkvaa5ZWhFYYZAHlQMS8MlQL+TBv8Yjn1Vu1inq6HfYb9eO+vbNr0ZeAvhIoEaGkcaKdSzJ7C5Apmd7e/Zl3K7JfBb3F4s67nnCdz9LYQrGoMEri5ySNaBuBt3gzeec/0Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714397195; c=relaxed/simple; bh=HEIne+999A66k6UZQLtYmKrZ2Noa9W+GW6r5F4pfKaA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Bi7x7DFsOZnyaOaMMdbfrtePwO3rxSjaWt/W5fIF828fhfNXiZy2b57eW0HymhlmrjlKehOMB2uUGZUSotVNvA8wgYsVIIQJpmONxzjcCkDGZufkB4+J45Lq1ascA4rUI6ThdAlxQKrxYH4H/yYzB7LE7uGaXkrIPU1lrV1zPog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CYcigg9u; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714397192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=0gIVyldPn8MVMDBzhE2sqz8u4+WJFxHqSQpWy/KuHHE=; b=CYcigg9uMYRh1tc3mNGO4Fk9fWCmMIAfbOWq8BeOtFNATPaW2V0foY1quHyNb4ULSridG/ nBfiumMi1ySdtM9/eAlMGIUxMNDGKE7Z0BpSDtI70nnZKBjdIJnmezUVkFzUsnisdFZ4Xz Gcj3QqK1Q4S8JUVWl5jkD1YQeTsxoNU= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-73-Foobcj2tNmC2O3AikmoYcg-1; Mon, 29 Apr 2024 09:26:30 -0400 X-MC-Unique: Foobcj2tNmC2O3AikmoYcg-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-416e58bdc1eso23184265e9.3 for ; Mon, 29 Apr 2024 06:26:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714397190; x=1715001990; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=0gIVyldPn8MVMDBzhE2sqz8u4+WJFxHqSQpWy/KuHHE=; b=Yl/vLKlW/SvhzQf/e7f7I/OE4SE/lrc0AhxovGRK2FIyMu4DmU8CER/W4VCs63+ENR IHd8B/nd+lIsJxwJPiUtU2V/gp5S3faqylUzPFel6naALwYPPWgNYjX51Kda+ehRlxml fwGF+xVpLBeIwob5DWgK660ybnkmoR9VVaXn2v1pHpkKqy8VqHwwio1tEIF08tZQEmYN CZ1XAhLe3oR9KjePXLdS6PDFTMmqeDt827Z40kQmLikjMmbbtw2+rAdy9HPMqKNNqwUo dFAR+TKYgbmNkQJ6x2pJTNzh8eqms6xI8Z4gJl+hRuu8kCSGlQ0VmJztLPwhss+fX+Sj /cTw== X-Gm-Message-State: AOJu0YyQBlS5cOGE1zkrSWQBTRelkRGPBTF7BdbJbjmtCNI1jE09JzrB 1ZCgEXz04FLps4H5nN0i6fBJXSrBYizcVUtsXoAt3HCkNtU9r5VwG9D3Fk7523ZwOqqWC+2ICpa anPIALFTsD36U8dNZR32kosfZ5xKnlketZa/hzcHemhIFpqfyNS+wgJbY3U2Xby/QrKrP6A== X-Received: by 2002:a05:6000:188e:b0:34d:369a:5add with SMTP id a14-20020a056000188e00b0034d369a5addmr1970149wri.71.1714397189669; Mon, 29 Apr 2024 06:26:29 -0700 (PDT) X-Received: by 2002:a05:6000:188e:b0:34d:369a:5add with SMTP id a14-20020a056000188e00b0034d369a5addmr1970123wri.71.1714397189178; Mon, 29 Apr 2024 06:26:29 -0700 (PDT) Received: from ?IPV6:2003:d8:2f26:e700:f1c5:285b:72a5:d8c8? (p200300d82f26e700f1c5285b72a5d8c8.dip0.t-ipconnect.de. [2003:d8:2f26:e700:f1c5:285b:72a5:d8c8]) by smtp.gmail.com with ESMTPSA id a16-20020adffb90000000b0034af18ef68csm21643897wrr.5.2024.04.29.06.26.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 06:26:28 -0700 (PDT) Message-ID: <2338119d-060b-4127-9199-5ff39fd62fc4@redhat.com> Date: Mon, 29 Apr 2024 15:26:22 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] mm/selftests: Don't prefault in gup_longterm tests To: Peter Xu Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Christophe Leroy , Andrew Morton , "Aneesh Kumar K . V" , Lorenzo Stoakes , John Hubbard , linuxppc-dev@lists.ozlabs.org, Muchun Song , Jason Gunthorpe References: <20240428190151.201002-1-peterx@redhat.com> <20240428190151.201002-3-peterx@redhat.com> <4171dbb6-81c0-4553-a405-a55f75be4cb7@redhat.com> From: David Hildenbrand Content-Language: en-US Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjc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KIwlb2mAB9sTNHdMrXesX8eBL6T9b+MZJk+mZuPxKNVfEQMQ a5SxUEADIPQTPNvBewdeI80yeOCrN+Zzwy/Mrx9EPeu59Y5vSJOx/z6OUImD/GhX7Xvkt3kq Er5KTrJz3++B6SH9pum9PuoE/k+nntJkNMmQpR4MCBaV/J9gIOPGodDKnjdng+mXliF3Ptu6 3oxc2RCyGzTlxyMwuc2U5Q7KtUNTdDe8T0uE+9b8BLMVQDDfJjqY0VVqSUwImzTDLX9S4g/8 kC4HRcclk8hpyhY2jKGluZO0awwTIMgVEzmTyBphDg/Gx7dZU1Xf8HFuE+UZ5UDHDTnwgv7E th6RC9+WrhDNspZ9fJjKWRbveQgUFCpe1sa77LAw+XFrKmBHXp9ZVIe90RMe2tRL06BGiRZr jPrnvUsUUsjRoRNJjKKA/REq+sAnhkNPPZ/NNMjaZ5b8Tovi8C0tmxiCHaQYqj7G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 29.04.24 15:10, Peter Xu wrote: > On Mon, Apr 29, 2024 at 09:28:15AM +0200, David Hildenbrand wrote: >> On 28.04.24 21:01, Peter Xu wrote: >>> Prefault, especially with RW, makes the GUP test too easy, and may not yet >>> reach the core of the test. >>> >>> For example, R/O longterm pins will just hit, pte_write()==true for >>> whatever cases, the unsharing logic won't be ever tested. >>> >>> This patch remove the prefault. This tortures more code paths at least to >>> cover the unshare care for R/O longterm pins, in which case the first R/O >>> GUP attempt will fault in the page R/O first, then the 2nd will go through >>> the unshare path, checking whether an unshare is needed. >>> >>> Cc: David Hildenbrand >>> Signed-off-by: Peter Xu >>> --- >>> tools/testing/selftests/mm/gup_longterm.c | 12 +++++++++--- >>> 1 file changed, 9 insertions(+), 3 deletions(-) >>> >>> diff --git a/tools/testing/selftests/mm/gup_longterm.c b/tools/testing/selftests/mm/gup_longterm.c >>> index ad168d35b23b..488e32186246 100644 >>> --- a/tools/testing/selftests/mm/gup_longterm.c >>> +++ b/tools/testing/selftests/mm/gup_longterm.c >>> @@ -119,10 +119,16 @@ static void do_test(int fd, size_t size, enum test_type type, bool shared) >>> } >>> /* >>> - * Fault in the page writable such that GUP-fast can eventually pin >>> - * it immediately. >>> + * Explicitly avoid pre-faulting in the page, this can help testing >>> + * more code paths. >>> + * >>> + * Take example of an upcoming R/O pin test, if we RW prefault the >>> + * page, such pin will directly skip R/O unsharing and the longterm >>> + * pin will success mostly always. When not prefaulted, R/O >>> + * longterm pin will first fault in a RO page, then the 2nd round >>> + * it'll go via the unshare check. Otherwise those paths aren't >>> + * covered. >>> */ >> This will mean that GUP-fast never succeeds, which removes quite some testing >> coverage for most other tests here. >> >> Note that the main motivation of this test was to test gup_fast_folio_allowed(), >> where we had issues with GUP-fast during development. > > Ah I didn't notice that, as I thought that whitelists memfd ones. > >> >> Would the following also get the job done? >> >> diff --git a/tools/testing/selftests/mm/gup_longterm.c b/tools/testing/selftests/mm/gup_longterm.c >> index ad168d35b23b7..e917a7c58d571 100644 >> --- a/tools/testing/selftests/mm/gup_longterm.c >> +++ b/tools/testing/selftests/mm/gup_longterm.c >> @@ -92,7 +92,7 @@ static void do_test(int fd, size_t size, enum test_type type, bool shared) >> { >> __fsword_t fs_type = get_fs_type(fd); >> bool should_work; >> - char *mem; >> + char tmp, *mem; >> int ret; >> if (ftruncate(fd, size)) { >> @@ -119,10 +119,19 @@ static void do_test(int fd, size_t size, enum test_type type, bool shared) >> } >> /* >> - * Fault in the page writable such that GUP-fast can eventually pin >> - * it immediately. >> + * Fault in the page such that GUP-fast might be able to pin it >> + * immediately. To cover more cases, don't fault in pages writable when >> + * R/O pinning. >> */ >> - memset(mem, 0, size); >> + switch (type) { >> + case TEST_TYPE_RO: >> + case TEST_TYPE_RO_FAST: >> + tmp = *mem; >> + asm volatile("" : "+r" (tmp)); >> + break; >> + default: >> + memset(mem, 0, size); >> + }; >> switch (type) { >> case TEST_TYPE_RO: > > Yes this could work too. > > The test patch here doesn't need to rush. David, how about you prepare a > better and verified patch and post it separately, making sure to cover all > the things we used to cover plus the unshare? IIUC it used to be not > touched because of pte_write() always returns true with a write prefault. > > Then we let patch 1 go through first, and drop this one? Whatever you prefer! -- Cheers, David / dhildenb