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=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 8BBEBC47096 for ; Thu, 3 Jun 2021 14:47:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 28854613E7 for ; Thu, 3 Jun 2021 14:47:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28854613E7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A08B76B00BE; Thu, 3 Jun 2021 10:47:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9CCC46B00BF; Thu, 3 Jun 2021 10:47:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 895236B00C0; Thu, 3 Jun 2021 10:47:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0130.hostedemail.com [216.40.44.130]) by kanga.kvack.org (Postfix) with ESMTP id 5A11C6B00BE for ; Thu, 3 Jun 2021 10:47:47 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id EAA63181AC9BF for ; Thu, 3 Jun 2021 14:47:46 +0000 (UTC) X-FDA: 78212691732.12.4D3E2AC Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf18.hostedemail.com (Postfix) with ESMTP id 83B45200109A for ; Thu, 3 Jun 2021 14:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622731666; 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: in-reply-to:in-reply-to:references:references; bh=ggwAzDwYsJe761/h5KeyH0+JH3HJIdjU1YmA0yiaMkI=; b=c6KbUWHozjlgPRGeKkkVLjeAZIWBPqMyh56ebADi0rfZcqAJGEBYATvwEoUYnfBI9VRW8f Gjk4IeEfuXNd/w7x4TXUjO2lOEmf8jgt5gI0IaRTryfSZKkzbgRUPYZn0vYcMtNngguA7V mIztC+qrLSMk4ynNtaj0G+X5RfORWt0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-334-qS8KCheDPCyqGj9kMxhSBQ-1; Thu, 03 Jun 2021 10:47:43 -0400 X-MC-Unique: qS8KCheDPCyqGj9kMxhSBQ-1 Received: by mail-qk1-f198.google.com with SMTP id s68-20020a372c470000b0290305f75a7cecso4475995qkh.8 for ; Thu, 03 Jun 2021 07:47:43 -0700 (PDT) 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:in-reply-to; bh=ggwAzDwYsJe761/h5KeyH0+JH3HJIdjU1YmA0yiaMkI=; b=qTRxdh1RndOG/IJpwo4fEAQ7VmoPR8uu/gUxdvL/xDFyOdacP6b1ZkisABnfYQQmN2 x4QTzW76iQet4jxa7OSCQe5L8ZX2CV0SRezbCbxYB3nq1/9Nbu3C2lXPnwYRs82uSuFW DjIBBF4vWM37eb0YGX+Jn3rksF6+sUVcQ1n7htGFPAYRoqQJ0Wmt49MGQP1qcHttp75m 92Fcjg3j+lInGLFYxoeqVkA4LmZvldujYonMKhFJkLUIovMZK2Z3CJDFzjHKjrnfjbe9 OENSBtXtAOQ89gXTV5VWwMSgxpGuMZfFmKdmZ4cl8VUvK8XpxFnGqM1lagXgk54e3WvJ jpyw== X-Gm-Message-State: AOAM5314gV0ZEngwk6A1/B30XNpDtrKJgxF+yMfTtCPLI2WdrD3beo5N msmUWuhibRnHRsspPCUGSSk9kRI/UIlubYq1DxBTjhvkyWh9vcVFEtuLSe5ZTERPq4HLnK6+O70 PAn6l2fYdySw= X-Received: by 2002:a37:ae81:: with SMTP id x123mr31891333qke.251.1622731662879; Thu, 03 Jun 2021 07:47:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8G2sTC80gzexHAH3BN9zjekxO4BROz6GuR6h2LK/qUHy5QdzjC03iGstjtnqP8uH7ytX0pw== X-Received: by 2002:a37:ae81:: with SMTP id x123mr31891297qke.251.1622731662359; Thu, 03 Jun 2021 07:47:42 -0700 (PDT) Received: from t490s (bras-base-toroon474qw-grc-61-184-147-118-108.dsl.bell.ca. [184.147.118.108]) by smtp.gmail.com with ESMTPSA id j28sm2041208qkl.35.2021.06.03.07.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 07:47:41 -0700 (PDT) Date: Thu, 3 Jun 2021 10:47:40 -0400 From: Peter Xu To: Alistair Popple Cc: Balbir Singh , John Hubbard , Andrew Morton , linux-mm@kvack.org, nouveau@lists.freedesktop.org, bskeggs@redhat.com, rcampbell@nvidia.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, hch@infradead.org, jglisse@redhat.com, willy@infradead.org, jgg@nvidia.com, hughd@google.com, Christoph Hellwig Subject: Re: [PATCH v9 07/10] mm: Device exclusive memory access Message-ID: References: <20210524132725.12697-1-apopple@nvidia.com> <3853054.AI2YdRgKcH@nvdebian> MIME-Version: 1.0 In-Reply-To: <3853054.AI2YdRgKcH@nvdebian> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=c6KbUWHo; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf18.hostedemail.com: domain of peterx@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=peterx@redhat.com X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 83B45200109A X-Stat-Signature: 3paqiw965naafy4t18jctir3qaehx8zj X-HE-Tag: 1622731653-810139 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 Thu, Jun 03, 2021 at 09:39:32PM +1000, Alistair Popple wrote: > Reclaim won't run on the page due to the extra references from the special > swap entries. That sounds reasonable, but I didn't find the point that stops it, probably due to my limited knowledge on the reclaim code. Could you elaborate? -- Peter Xu