Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6983141ybi; Thu, 1 Aug 2019 01:24:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxATISKu5spWR631epaxq56VRDzpPnxjl278bKYeF21h/Zn+CvALF/Z7UAvaKfgq+AXaXcC X-Received: by 2002:a63:c751:: with SMTP id v17mr103116656pgg.264.1564647840725; Thu, 01 Aug 2019 01:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564647840; cv=none; d=google.com; s=arc-20160816; b=nwAwyclSzkMb8AjwPjpT4b8Bhrdd8DICvz2YWTltdBonOlSoN24xfmCJLeZ4dChv/M i6bqlrq5uEFa3kIQhc0QcfASzFOZx4bmPS0aFunSy8pzR3bUr5oHIsyJR7yvabImKvxf 1371h8/hIpoDgdA9Gf6XY1LYxwQVvoWguztvth1OoBpRyHcnWKTOeFx6mAVB//5bKpAW TgWo1aWyICqfTnXVwKkv01Zc3DxGjqsaZXq+kTgvSRdcbAtFRAZJjAe2/Ke9Ndl1nEf1 dyDLgZ/VAIube8qDRe+SpFzMiXeEaCwsraGc89h0/fjFQLrGmbg7Z1xiKB7jpxPEyBoX slAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sTc0E3ysbgmn+npdW46ezm0Yr8ZyVN2zGAo5+I1SwMk=; b=lbKMa6jZLAx41ZJpE4OPwTUEoSrmgGwA+Is/FK2YK5LgBE90uQ0UkMtVUMa44GYkwW a0mjlo8SF/7oja9X4d6dsohfen9t3QSGcXKTkqezS3UJV4vz3b5dkg7v+kNKpqFC1GEE Sti1PXPzKkLrW9zYxRGxCDHx3oVYj1MNtkOtY0RRzgRJZqdttK+pPJYDuq2SaG8qz4ZT 1VbL72MkEWQ9dB2JLhWuznJzxhu/6zJxbPXuIvPVvdaXgLsXtax3FfciExK+c5ZmDpKE /2PozoMy+hgIhOl76iY8TwHTdwe0Oa9iD7Q3pq6dMOZAWx+NythMp1PIo9orJGUkeCPi UaWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x131si37331395pfd.116.2019.08.01.01.23.45; Thu, 01 Aug 2019 01:24:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731001AbfHAHqV (ORCPT + 99 others); Thu, 1 Aug 2019 03:46:21 -0400 Received: from verein.lst.de ([213.95.11.211]:41145 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728582AbfHAHqU (ORCPT ); Thu, 1 Aug 2019 03:46:20 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 2CC4D227A81; Thu, 1 Aug 2019 09:46:15 +0200 (CEST) Date: Thu, 1 Aug 2019 09:46:14 +0200 From: Christoph Hellwig To: Bharata B Rao Cc: Christoph Hellwig , =?iso-8859-1?B?Suly9G1l?= Glisse , Jason Gunthorpe , Ben Skeggs , Ralph Campbell , Andrew Morton , linux-mm@kvack.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/9] nouveau: simplify nouveau_dmem_migrate_to_ram Message-ID: <20190801074614.GC16178@lst.de> References: <20190729142843.22320-1-hch@lst.de> <20190729142843.22320-6-hch@lst.de> <20190731095735.GB18807@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190731095735.GB18807@in.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 31, 2019 at 03:27:35PM +0530, Bharata B Rao wrote: > > - kfree(fault->dma); > > + return VM_FAULT_SIGBUS; > Looks like nouveau_dmem_fault_copy_one() is now returning VM_FAULT_SIGBUS > for success case. Is this expected? No, fixed.