Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1866116imm; Wed, 16 May 2018 04:24:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq3NKdznybiVOg/8uTUSaCndEXXClUC+dfA/4I/hNFLlkh6NiY+t1uPOYcFbKl5QBkrp/Vu X-Received: by 2002:a62:ab10:: with SMTP id p16-v6mr505277pff.211.1526469858403; Wed, 16 May 2018 04:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526469858; cv=none; d=google.com; s=arc-20160816; b=nJSlx468DBO/ulitxsUVKLN3nxKTOWGF2Tda9KSJV1wva95TOk8PhOPv11mfPQmEcv Lnw68P9qbM6Le5JkQXa+bxXujkfRw8kVrY358HzsB+FT133XRmH0T00tr8a3MWRI13Mm VqFS4gkepdkfI7erIQayXctsFIBYpr8DOTdrwiVoS99JD7g16pBbJgzlp/ywZR9K0/oZ cMvBYJ8vA5iokV6pdmPRScxAf5Icg6qNToBOGNUcKcGGdZ1atSP68qK4HGznCfGA6MZm m59HRoeugS1YEgJMvp+aUoLeyJnIVdO7oFaxk3B/p2nfO7BDF3jcD+GzpIEBb9igl6ob R+yQ== 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:arc-authentication-results; bh=906SD2mzowVvTmxAlo9REWYvjYux2oavq1Ci3dMu+84=; b=o6v8LSB0WCJIGW8OHFUV+3dykziBuu1hdBS9fz3p+puzTOcSxZjoCFPOLpoJ1BFwRC uW7MEJOwhZA9zU4SoTvJgJT1Vnt1OuEDrqLSCx0A2Z5T+sYSP+6CLaUhC6ArdVkrOjKs tri+vfYPpkgG3KnJRNZGnt8Nspih9xN1TIAVyMdOC4guhLZ26Drh26LAGjw95znLOT9L VvLqLR+9OfRCahNW3y2WEvne941nVBqLQGEpcXr9gN/VOg4vb77LAoc6JalLYZhxLT5R FSLPpAmbRu7MwX93aodOHnZAkRhVoBm2JzydA0EXfjJsHaRiyUc37lyg17waH3Kto0+K j8UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=b0LX30mU; 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 c10-v6si2371351pla.127.2018.05.16.04.24.03; Wed, 16 May 2018 04:24:18 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=b0LX30mU; 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 S1752585AbeEPLXv (ORCPT + 99 others); Wed, 16 May 2018 07:23:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56524 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbeEPLXt (ORCPT ); Wed, 16 May 2018 07:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=906SD2mzowVvTmxAlo9REWYvjYux2oavq1Ci3dMu+84=; b=b0LX30mUMa9LG+8fa7Yk6OjdL YB9ZMVMAikYHiHBc98TiNwzTX7AUSRGdQcqCcIyJ2lQGA/5rDv+qtO5maadj8eCUQD1ewBrLwmOuX ioRBKAtZcEtqukE6nI3ZK1uCvxWDpV05Bu4eg4Wf1hP2ZfkK/wEM2qiBERRa9P0sAu9dEGWutNJTa HkhFgHh7lEm8y/lnqMap6CIiRZDDBoQsN5jesIr0X0AxaASUyXQbKOpy8lhBvF6TpcIg7iKF4ISNW QLoEjQUW348mYlr4LrlJCcs8HzNUkMhv5ACpKdrr05ZLRSdlgpNRY2Lhh3Bv04AVbaxK3WACyxKc9 AHrurdcVg==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIuX6-0002UK-2R; Wed, 16 May 2018 11:23:48 +0000 Date: Wed, 16 May 2018 04:23:47 -0700 From: Matthew Wilcox To: Christoph Hellwig Cc: Souptick Joarder , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@lists.orangefs.org, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, dri-devel@lists.freedesktop.org, lustre-devel@lists.lustre.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org Subject: Re: vm_fault_t conversion, for real Message-ID: <20180516112347.GB20670@bombadil.infradead.org> References: <20180516054348.15950-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180516054348.15950-1-hch@lst.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 16, 2018 at 07:43:34AM +0200, Christoph Hellwig wrote: > this series tries to actually turn vm_fault_t into a type that can be > typechecked and checks the fallout instead of sprinkling random > annotations without context. Yes, why should we have small tasks that newcomers can do when the mighty Christoph Hellwig can swoop in and take over from them? Seriously, can't your talents find a better use than this? > The first one fixes a real bug in orangefs, the second and third fix > mismatched existing vm_fault_t annotations on the same function, the > fourth removes an unused export that was in the chain. The remainder > until the last one do some not quite trivial conversions, and the last > one does the trivial mass annotation and flips vm_fault_t to a __bitwise > unsigned int - the unsigned means we also get plain compiler type > checking for the new ->fault signature even without sparse. Yes, that was (part of) the eventual goal. Well done. Would you like a biscuit?