Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp75363ybl; Tue, 27 Aug 2019 16:06:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxubHtzhZHENlfVLcZI5kJGehzAGW3SzmeTWaut40anVhwp/VrXSWG+Zt4dFITFChCHMJy0 X-Received: by 2002:a63:b102:: with SMTP id r2mr781280pgf.370.1566947183934; Tue, 27 Aug 2019 16:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566947183; cv=none; d=google.com; s=arc-20160816; b=xGjT5gDagoSDIAv4XWerXKp1zOTyVXUqrTTXlGyI4D7LX8PzcPrIymPdv75+Jt2F06 pP3NyarXSwEW7g96nHIh3MUvOQCQK9ysmzzsmgvv7mcFLBwwHjWx6Ro2poMnR2nwsjts uWtByjDzul6sC4JgDdGohTlqOAwPC5smFzryT7a9LDaxreJGfMJVRuiiIANn7l//OXtB uxv4NgNcgtoSDUvWKCqvrvE3DAxrB7j+mGycf4J4LYcb72ZTqZxhP7hTsayCiLO8zE5P 6TPAXbU3RilB3mxoGu3Jzdq7WCAhpDg4eFoYU92vBSi8E/yYXGAZBTKOJ1I3xDJTG8gW hJyA== 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=twfAj3jJ2iISvtECbV5aZw57c7oT5wmcKVNF5jtBKzw=; b=Khn22hW7YzGpYHc5PXlhxJUgkt1yfyi4repo8AffGHr4ALjEF0IzxAB9y3n5RjaMCT vMiXporlAuz/Oj/wvPCLBz9+aItoMrG+P6NYXsEp4pFU8WzI6KiEVzxFHwcD2biHJoXz W5s6938ajSHfBjGp8Hd5xQrZwMpfReV+RNZUrM9zPJcJt3+eYukzpSA+QYq+n8/+C6cF eBkpWL+fr1S+FgrlfRZfhGI3tppBOBgLYCKSm3iGXAeXRbZ5agRaRg8Cx5Ye7B37Q1n9 fIsfY4mrcN5WAnv871/eP8dT4GtUITtW9sBIA1SzvktJKJOyFz1nwyXs8OTZZ0xCFVn7 xHcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=TXlm0q2x; 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 l21si616446pgk.259.2019.08.27.16.06.07; Tue, 27 Aug 2019 16:06:23 -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=TXlm0q2x; 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 S1726289AbfH0XEq (ORCPT + 99 others); Tue, 27 Aug 2019 19:04:46 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:34559 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfH0XEp (ORCPT ); Tue, 27 Aug 2019 19:04:45 -0400 Received: by mail-qk1-f193.google.com with SMTP id m10so766341qkk.1 for ; Tue, 27 Aug 2019 16:04:45 -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=twfAj3jJ2iISvtECbV5aZw57c7oT5wmcKVNF5jtBKzw=; b=TXlm0q2xcS7/T/OenFpz5vi4Yo1hovc71pjCHSJFZtpy8c9XUnNxETQI04ONVL0JIb xjCg1ybda4kro9E97QJSZSC/ihNDktOyYrdT8R26XLgljCtsNC1Vrq1jHptibE/6c1Nf EnImq/F6CeVQdv8DhnroTOVUgpGI4Q53Tzi+7QBPIjjUtOvPjrzPVX/jcKew3UlbKL90 uUttussOAeggtW9AKfycy76g+BnNBWpDYxb+G9wjbjpqMtDqXs7hiScwYsQlSR3G6afw kwtNsqYgOSibPsNyIiq4ivvhuJDj/CXdeSuB6tWCMVfMG0Gr1JdzT+6jpEuRLfpulGpr muWg== 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=twfAj3jJ2iISvtECbV5aZw57c7oT5wmcKVNF5jtBKzw=; b=EgtEgYPZ66ds6CH1Y1o238OweUNFqPpf+KxmJTPoYjuTZxWedX3ReGX0eT2V827FVK rzEmqEN2uE1CmiyI5AjTlQmV3Y3cIieIhBMVnV8xauhTVbkUo3i5FZmeC6tbEmFxGnBX ycqd60DeWjojQ454kiNXIRyKBpCeMhwXh+XE8VgVgv6Th5g7Xglwq+FVCN7JtsniEL07 ZbS3boDAIiNz20a8zvLGyeyO/vBajYT5eNywyQCV551Qvgi2fLQC/bbr8Ctj0sPg8lEC AuYUk1QLLOg55z+ygAenS7NcVDT8LBPR7OR4PCd6s/Qx7X0ms/Y7o1ZOjI5ULLUUHRMR eKaA== X-Gm-Message-State: APjAAAUPI/XOTZgP7frRdGHg+2xuKvpF3o7ILFbrylWgS1oOtIl7NzmM taOsEuByWXArRsZEnSlyX4hMKA== X-Received: by 2002:a37:3d8:: with SMTP id 207mr671091qkd.191.1566947084848; Tue, 27 Aug 2019 16:04:44 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-167-216-168.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.167.216.168]) by smtp.gmail.com with ESMTPSA id u28sm319212qtc.18.2019.08.27.16.04.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 16:04:44 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1i2kW3-0007TV-VG; Tue, 27 Aug 2019 20:04:43 -0300 Date: Tue, 27 Aug 2019 20:04:43 -0300 From: Jason Gunthorpe To: Daniel Vetter Cc: LKML , Linux MM , DRI Development Subject: Re: [PATCH 0/5] mmu notifer debug annotations Message-ID: <20190827230443.GA28580@ziepe.ca> References: <20190826201425.17547-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826201425.17547-1-daniel.vetter@ffwll.ch> 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 Mon, Aug 26, 2019 at 10:14:20PM +0200, Daniel Vetter wrote: > Hi all, > > Next round. Changes: > > - I kept the two lockdep annotations patches since when I rebased this > before retesting linux-next didn't yet have them. Otherwise unchanged > except for a trivial conflict. > > - Ack from Peter Z. on the kernel.h patch. > > - Added annotations for non_block to invalidate_range_end. I can't test > that readily since i915 doesn't use it. > > - Added might_sleep annotations to also make sure the mm side keeps up > it's side of the contract here around what's allowed and what's not. > > Comments, feedback, review as usual very much appreciated. > > > Daniel Vetter (5): > mm, notifier: Add a lockdep map for invalidate_range_start/end > mm, notifier: Prime lockdep > mm, notifier: annotate with might_sleep() I took these ones to hmm.git as they have a small conflict with hmm's changes. > kernel.h: Add non_block_start/end() > mm, notifier: Catch sleeping/blocking for !blockable Lets see about the checkpatch warning and review on these two please Thanks, Jason