Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp333985pxj; Thu, 3 Jun 2021 07:51:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx45d8hxeLFIHK4yzAZgcfHGxRSPAxKjPhWT3Je/SdvnVacRoQ7WyHPPurxrTEJFL2w6HZI X-Received: by 2002:a17:906:d8cf:: with SMTP id re15mr4138ejb.278.1622731899606; Thu, 03 Jun 2021 07:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622731899; cv=none; d=google.com; s=arc-20160816; b=GXTjEzhL/aTO0PWsbLmAcHAIfbbheFjHaUCcA/atyBKcriwdwxMlH7I2Wox/O3DeQ7 H+fmeJUBlYt9L/gfBaQptLSXJ0/67nl29ZUvlAqQluZv7KozbcTkCbUD/LJSixlKzv0H VtvKkTc2AUTp9KOFmLTJsMkvhG73uI58OG2G4WZS7sNAa5LWPzMLcW8XZxbkA0QphjA8 2FoYzS0Jv/vROX2nUgE6h+0jUEzkvsDardw/9WI6zjctsoNvcvCg1mfPwzrtcH4icgrT AMR6PEggfQvIswowiGbebQAs01ejpBVyPtB/G/aupHDi1sm244qnvb4MtEBM0Mpin66a quLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ggwAzDwYsJe761/h5KeyH0+JH3HJIdjU1YmA0yiaMkI=; b=i7EUQuUE5B9/eJ+Y5iWX04VlbAdzkMcBWOhtHLuFSGUwBMvNqb6TSKJy4THiAzpfsK aVOEETxenQY0IbUHH/tNlGcVhXYq40y2N0/ECPndJAmyU3sihc4DNdzAEEiK8Cha2mdb kVKU9G0Eyc0qveDRW3oplxMqezoI8mkKGb1SrJLB7VkC0WTO+XMdXQ9N6TqODPVgf19P 9YEykqDgLvldtYUSguuuBA2XBSQICE0Zoy2DgLs8O9fnxWJXZNCSaODM7HAff0LnZX8U 9VK4+RrbDs20zulihb0aYIKLOnPUoRq4XjrfYFpSuVHRoiEa1f41fzl4xMOy6Y+81lEf Q5WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyP158C8; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si2206506ejy.602.2021.06.03.07.51.16; Thu, 03 Jun 2021 07:51:39 -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=@redhat.com header.s=mimecast20190719 header.b=UyP158C8; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231765AbhFCOte (ORCPT + 99 others); Thu, 3 Jun 2021 10:49:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50230 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231768AbhFCOte (ORCPT ); Thu, 3 Jun 2021 10:49:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622731669; 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=UyP158C8QCG86KQwa+pUIW2sWa9RMdtiL/sH+l5C8T89F9myw2wb/mPCFgU30jgTbJ3rFd KiVhEfT2/XPfDf4pd+PQKDie3BU/wnhs8IrcmCVyNObb5o5sNC0W96c8nhpbesloH+xzsD nKK4MIjM8SjIeVRWyVBbEusDCLvniJQ= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-151-5KocJOyYM3Grv9NUmxJi6g-1; Thu, 03 Jun 2021 10:47:44 -0400 X-MC-Unique: 5KocJOyYM3Grv9NUmxJi6g-1 Received: by mail-qv1-f71.google.com with SMTP id s16-20020a0cdc100000b02902177eec9426so4594150qvk.4 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=mvrgQ+gNo4iFs08RhuvPL8edCGKjqFEQAgbSu6v6W9YhMkIAmfsa4vnkeOE4sUyZOL FGMSm5iro4QP0jb8a2d+fYVax/XmdYJ7JfeQ7rCULqzSEvcZ6QwgVX+nLLqPEa59RrJ/ ttND9e8T4w51QgN9Yd83PmKKFRobv6UhHzkvk+5UwMBh0EM30q2Tz4nLbwB3UMiMhPDm 3nuBTAXrMC0RXRt0AfYke5pDR41mGsDyjKu236+aRvPMka8CF2zy0qKpJ1qIIa/2NTM+ txbjGtsU5WGUIQcf4qlfvBnOAvb4t0xvB2g0ZXRw4l1xcngRQIiabbL/gnZpGhccPrso TlSA== X-Gm-Message-State: AOAM5323Cj/JDIpOYIh94Ycim//kx7CKfMP9rkKpneP7Ewvftv3/BB7N 0sGfBfvQgH2h8D8ii+ll4wxenWRI5P6cKCc6kPd/AlibV/AKtjKVRgQkBrQX0Dr3hJEDyXjxmzD 63T8ihN3h6Ll1cfM6EJ0w/fae X-Received: by 2002:a37:ae81:: with SMTP id x123mr31891336qke.251.1622731662879; Thu, 03 Jun 2021 07:47:42 -0700 (PDT) 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3853054.AI2YdRgKcH@nvdebian> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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