Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp418116lqb; Tue, 28 May 2024 22:15:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXiHFlIsCNcYYNxBKzQ6hTk+kYKKvMMZxNQmlnY3xtLEscLvZ6np7jekemX7lqFFIfIx8V5iHcGE41E/iQENQYJq0gu9XR+vF0wXQrLg== X-Google-Smtp-Source: AGHT+IG+4SiG3JZ9H4k6bVDLSAKYeQW4s96CWN6PbsdrC22zqPMpcqavlm8ViKb4bkdIHZCjLYuD X-Received: by 2002:a50:a417:0:b0:579:c442:3684 with SMTP id 4fb4d7f45d1cf-579c44238e4mr5660651a12.24.1716959751854; Tue, 28 May 2024 22:15:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716959751; cv=pass; d=google.com; s=arc-20160816; b=NolSz8BiM/gKoIvh9Cil6xR0EpJq1yVPkHgpuOX5lbHspBNRp25nqlUsBHFtX7krM/ O5MvK7PGYHf/w2MWDCpmj3ZgvEt3LkMH9G3EKO4txPcD9GC15f6xahjoLLjRyb7PHiSw yA5W2cPRdTE6qpIYB3sq1WoD+GC7LIetSYLq22JU6XnJKKK8Mp/E5OjYVojn9uLQAjwW 5eSS93dEH+NrtN+1a+RRWT/cmP2qciqk2pEM82Iwkz9hOh+024za3BQvZDnntzgW8ZYL pNUGf06A8tlsOie+M+x8SQiaxgkZHtCdXu4NwLwAHz6YvTwP7BlweLrEg2D/MQv+uFJQ CXyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ACG9Ek88EjhjWT8FizxBf7xtM0XajlJ2TJlG/RMopw=; fh=wXPiicAI5HZzPvIzujqrRfxsyLBqn98c48g/RCUHmUg=; b=fByrAO0rIj95JHjUmA/LrscRZk13xuHwMzBzjpIRbgS5MH/nbhKe4QHHbXiop5ZZ0k m3Yd/gVDtru+pWTl+07EcR9K2NUlVrqxJnNoDAtYSbsuP6IDzz3eNATXwHJUDEgP6xQc HXylS/dB2tgLaVsGrJuEKnOVoGzvQ8hrOCCVDCU2QtI3AiWlI001ANcRJ29QLEVNBnJg FNoY1vnviG1haIEYLRwhPmMFcWzr5WSMlzY88APHIszZptfHGpHhSlACR6fDxw316UVn UeqOuSXq1jlg42tBMD/FDaFBX3APgDu0IvuCMC3NV+qG8lfg/a5noHXIJ5hkMuygLVO8 kbBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hFLsUGXw; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-nfs+bounces-3458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3458-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5786588be93si4927198a12.151.2024.05.28.22.15.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 22:15:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hFLsUGXw; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-nfs+bounces-3458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3458-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 930F11F2473F for ; Wed, 29 May 2024 05:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2411415A841; Wed, 29 May 2024 05:15:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hFLsUGXw" X-Original-To: linux-nfs@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE44879F2; Wed, 29 May 2024 05:15:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716959748; cv=none; b=NYA7cFhMHNZwDzzK7EbYTPI+oFAg0XRBWuclf99iQjPqQKucveqhLOxcmVIb/zVIBM2MDdwHTImm5adFCUTZP7i0DlutP1aYvg0SwzhkraupFYe7xjAOqYhzJ2+4zd41bCwCyUQa9tvIkWBVo44wIsevdzNDRhLpXG3bnIY+i6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716959748; c=relaxed/simple; bh=405fmI54HGw3CsvdFhrDG0owulKYlZPf1JUCgWhpdww=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Efmh7iySRXX1cZkWWjRlHjT0YcxIO/YLdC+JnN7Kw47SkRsJ57Ym9wAph9c0Nu6NHgGmhY96wkg8H3kdFzdx2bzRtOAxOsA5Nmj2F+HxqxC5yIZGXiy5rsz7JOHcU5Njh2vOeq7BOx6TFkbF6IwZBVds/ca5e0r0pGkFlqcgOLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=hFLsUGXw; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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; bh=/ACG9Ek88EjhjWT8FizxBf7xtM0XajlJ2TJlG/RMopw=; b=hFLsUGXwozkqF6iM8hwef87AKY tOHk253ez7fOkFLHs9NwoEVPsCELh0C1YUasNCOh5rkpwhi7NrwQlDNjvI047vRyJ6dxnKGn36tAO vfV+1Mg8vt/7aQ9mMlAitm3IQwdgoRcjf2NHx0agBEh6lZEsRu3MfN+kWjh+eKx4PWYJ4d+dzPWZY oOepTH2sexB7bt8iNEUhvRi37JI+YGmZGy7Kdi5MI7PV/gB90woJl0zx42iGUQbBUasjayI4qclcD ETdaaRgpCUYxYBxCdY0AHZLNm1Z7qIH6iAzjDlYqkqLFWtCVsBh9oEfv0xvnTfN+EmdLhqJAfJ9fe CqcZbHrg==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCBf7-00000002rSI-2tM5; Wed, 29 May 2024 05:15:45 +0000 Date: Tue, 28 May 2024 22:15:45 -0700 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, Trond Myklebust , Anna Schumaker , Christoph Hellwig Subject: Re: [PATCH] nfs: Fix misuses of folio_shift() and folio_order() Message-ID: References: <20240527163616.1135968-1-hch@lst.de> <20240528210407.2158964-1-willy@infradead.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240528210407.2158964-1-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html > diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h > index c6aaceed0de6..df57d7361a9a 100644 > --- a/include/linux/pagemap.h > +++ b/include/linux/pagemap.h > @@ -212,8 +212,8 @@ enum mapping_flags { > AS_FOLIO_ORDER_MAX = 21, /* Bits 16-25 are used for FOLIO_ORDER */ > }; > > -#define AS_FOLIO_ORDER_MIN_MASK 0x001f0000 > -#define AS_FOLIO_ORDER_MAX_MASK 0x03e00000 > +#define AS_FOLIO_ORDER_MIN_MASK (31 << AS_FOLIO_ORDER_MIN) > +#define AS_FOLIO_ORDER_MAX_MASK (31 << AS_FOLIO_ORDER_MAX) This looks unrelated. The NFS changes do look good to me, I'll kick off a testing run on them in a bit.