From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D1FAC43461 for ; Tue, 15 Sep 2020 07:36:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7836A20897 for ; Tue, 15 Sep 2020 07:36:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="ZKgevQix" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7836A20897 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 03DD8900026; Tue, 15 Sep 2020 03:36:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F303490001D; Tue, 15 Sep 2020 03:36:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E6DDB900026; Tue, 15 Sep 2020 03:36:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0101.hostedemail.com [216.40.44.101]) by kanga.kvack.org (Postfix) with ESMTP id CFB3690001D for ; Tue, 15 Sep 2020 03:36:38 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 8AF198249980 for ; Tue, 15 Sep 2020 07:36:38 +0000 (UTC) X-FDA: 77264488476.26.arm45_1b171cb2710f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin26.hostedemail.com (Postfix) with ESMTP id 4F68B1804B670 for ; Tue, 15 Sep 2020 07:36:38 +0000 (UTC) X-HE-Tag: arm45_1b171cb2710f X-Filterd-Recvd-Size: 2451 Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by imf39.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Sep 2020 07:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1600155398; x=1631691398; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=/XwAXkQHXewg5IBUQwM1xep0BcaYUUZqSLnWRQOvtnQ=; b=ZKgevQixUJCCITh5ZST+u7rQzLVUmGPVOD9qQ4WnuQIEr+kL03qzw6fF kk7Gg4m3F34sEGw3z3u6gaEQcx2D9Wb55KCMLkCrNdkNDq4v4aeXdcE6M BCua2O6cSRmd1Iecg0BCpxQcVvHBrpzujV4ZBh+cw3nfj/lcoOEOq6Nag c=; X-IronPort-AV: E=Sophos;i="5.76,429,1592870400"; d="scan'208";a="53814501" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 15 Sep 2020 07:36:37 +0000 Received: from EX13D31EUA004.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com (Postfix) with ESMTPS id E79AEA1DC9; Tue, 15 Sep 2020 07:36:36 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.162.35) by EX13D31EUA004.ant.amazon.com (10.43.165.161) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Sep 2020 07:36:33 +0000 From: SeongJae Park To: "Matthew Wilcox (Oracle)" CC: , Andrew Morton , "Kirill A . Shutemov" , Huang Ying Subject: Re: [PATCH 09/11] mm/truncate: Fix truncation for pages of arbitrary size Date: Tue, 15 Sep 2020 09:36:19 +0200 Message-ID: <20200915073619.16748-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200908195539.25896-10-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.35] X-ClientProxiedBy: EX13D28UWC001.ant.amazon.com (10.43.162.166) To EX13D31EUA004.ant.amazon.com (10.43.165.161) X-Rspamd-Queue-Id: 4F68B1804B670 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, 8 Sep 2020 20:55:36 +0100 "Matthew Wilcox (Oracle)" wrote: > Remove the assumption that a compound page is HPAGE_PMD_SIZE, > and the assumption that any page is PAGE_SIZE. > > Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: SeongJae Park Thanks, SeongJae Park