Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1017255ybl; Fri, 16 Aug 2019 07:39:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqydCkbl/9eJht+8X13Lfi6uLnv4uxr0PP7wNt+CUWGxYgCaMteouiIocATmQiMeHPGTmxaJ X-Received: by 2002:a65:43c2:: with SMTP id n2mr8165522pgp.110.1565966356596; Fri, 16 Aug 2019 07:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565966356; cv=none; d=google.com; s=arc-20160816; b=Xl5CiC7IPCgtdJj6F4Gt6FQK0xDtQClLK9H5xZCR8zvBMrU6Qfn77ZWMv+owTamN52 +4WMCMDX0IaVkipwqnQ+Gg3N3N3qyD5dRFuDD6pI8oOdB3Sez2S5b5zG/r1d3BIfGH9O T/wmiwh9g68WzL5etTzE6413D29hSghfK/FMZsICBBFLKSfIIkotqmluPVpM+LST1sNG H7aU5BDu472BfatGXC8dryXI4SR6jTOsp23qvy0CVv+/UjYbDanfqQvRFd4BpWY7cxz8 WUZxTm1GplDp2lyPlIWYUbn/S/srSoGI+sR8mgeMW4tc0/dlRy4kP+zLL2iwCigRwI+S WTKw== 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:dkim-signature; bh=MS7ajLYKprAI3MhxmX/5qsDZrA6uiLpBaWLcIAnB0Lc=; b=ARyHuGQrEFt86SsG4gQC3ergDAliznWXHFlQ/vopO4bpJIVlRrvMhDqoUjb+mSsef0 4YfLHcpF26oMnCYkO9JkN9Xmsho6LM/lNxVkUTCxd/t2y0/Tq2xxlnKHOm/2WkcjpeZO 4Wn7e+uBmGH7OK85rwCazOhpzpiSprwVmRB8igaNnQFQrmbyYxYtS8mxBMawgQF8GynG d9Q/g1f0cfUAyDuPR8YiOPqc8KdgTg0+PL55npWITgrNWi6o4fJ2VBhDbrCFD3eKe7cT zO5hxT00EXUWDNg+zoCb6e66uFjicgyBy+7+G0yLDuOctflkZ7I9h9VZEXMPFALRWsa8 cVJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=e6kKMZwV; 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 k14si3067804pjq.53.2019.08.16.07.39.00; Fri, 16 Aug 2019 07:39:16 -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; dkim=pass header.i=@ziepe.ca header.s=google header.b=e6kKMZwV; 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 S1727347AbfHPOiV (ORCPT + 99 others); Fri, 16 Aug 2019 10:38:21 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:38311 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbfHPOiV (ORCPT ); Fri, 16 Aug 2019 10:38:21 -0400 Received: by mail-qt1-f195.google.com with SMTP id x4so6316477qts.5 for ; Fri, 16 Aug 2019 07:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MS7ajLYKprAI3MhxmX/5qsDZrA6uiLpBaWLcIAnB0Lc=; b=e6kKMZwV4O+Kvfn4npy8P0jfNJrkRu5lQs/FFTJRnQrl5xmV0X39jhnFU/IsAoxvwH P6DR5NGW3aTKbm7N4If5x9JQENieb1V/Lilmuo5rM7sTLS9nLnxEuwjWWeFqSjhUTh4s BreQymkmDdDoKKfFSagL9nElLDythD+DNAXerEQl/4Mg0SUlGRuKtHuHN64CgLpRbdh7 9cEiq+OjxTyuC3ETIUPKtAosvo2RxGNiaf3KJxInDCigqVuPBuu8nnC62J1n2oXSz00z CI41znMtbUNGAF8K5oF0XH26emRHSKZBPu5rb9XfdSp91cdspY84BohKD2Qxxec+/k98 vgEA== 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:user-agent; bh=MS7ajLYKprAI3MhxmX/5qsDZrA6uiLpBaWLcIAnB0Lc=; b=abkYfhjxBg0mJBrA1EV7dsy7YG/Nr2qvr2CcPfyviUy4vAd88htJt+04Me9Zb6qydg K5ToURGHHMRCK+CJKrqSx7Bppt6vgq2CHneiGxQOAs0+Lm4FrzJJAqUxkxXYxokYFJSA r7wGIMPDxzr0YWghe5B+QcR8KlUEfJwdTt4vtQM/ezZpV3c6Gkz3fnBfUyJCd8thbDNJ mDtNWZ+aylQKveWUYwD6HHAPDhVVHtKC/cgNG0emExN7BKl5++XedTSrhZG5zXZAEks7 oHwUY2o0QxYENhekeG3r1MVo1diNvWlCXZgw0D3uAv2ogPHT0ZmSeVyFJFhmMuAimdiv gzPw== X-Gm-Message-State: APjAAAXgor9FlnuSiF4tYo4Hl4w0TLhMYRlSJNDvYenieUV1P6Wcv+v9 GWBynsMy8xrw8kM+bQEYMel34g== X-Received: by 2002:ac8:c86:: with SMTP id n6mr8777114qti.345.1565966300391; Fri, 16 Aug 2019 07:38:20 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-55-100.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.55.100]) by smtp.gmail.com with ESMTPSA id 125sm3190521qkl.36.2019.08.16.07.38.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2019 07:38:19 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hydMx-0003Hq-9g; Fri, 16 Aug 2019 11:38:19 -0300 Date: Fri, 16 Aug 2019 11:38:19 -0300 From: Jason Gunthorpe To: Daniel Vetter Cc: Michal Hocko , Feng Tang , Randy Dunlap , Kees Cook , Masahiro Yamada , Peter Zijlstra , Intel Graphics Development , Jann Horn , LKML , DRI Development , Linux MM , =?utf-8?B?SsOpcsO0bWU=?= Glisse , Ingo Molnar , Thomas Gleixner , David Rientjes , Wei Wang , Daniel Vetter , Andrew Morton , Andy Shevchenko , Christian =?utf-8?B?S8O2bmln?= Subject: Re: [Intel-gfx] [PATCH 2/5] kernel.h: Add non_block_start/end() Message-ID: <20190816143819.GE5398@ziepe.ca> References: <20190815190525.GS9477@dhcp22.suse.cz> <20190815191810.GR21596@ziepe.ca> <20190815193526.GT9477@dhcp22.suse.cz> <20190815202721.GV21596@ziepe.ca> <20190816010036.GA9915@ziepe.ca> <20190816121243.GB5398@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 04:11:34PM +0200, Daniel Vetter wrote: > Also, aside from this patch (which is prep for the next) and some > simple reordering conflicts they're all independent. So if there's no > way to paint this bikeshed here (technicolor perhaps?) then I'd like > to get at least the others considered. Sure, I think for conflict avoidance reasons I'm probably taking mmu_notifier stuff via hmm.git, so: - Andrew had a minor remark on #1, I am ambivalent and would take it as-is. Your decision if you want to respin. - #2/#3 is this issue, I would stand by the preempt_disable/etc path Our situation matches yours, debug tests run lockdep/etc. - #4 I like a lot, except the map should enclose range_end too, this can be done after the mm_has_notifiers inside the __mmu_notifier function Can you respin? I will propose preloading the map in another patch - #5 is already applied in -rc Jason