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,URIBL_BLOCKED, 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 96E9DC433E2 for ; Tue, 15 Sep 2020 07:18:31 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 012352080C for ; Tue, 15 Sep 2020 07:18:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="S2955F8/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 012352080C 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 21C256B007E; Tue, 15 Sep 2020 03:18:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1CB796B0080; Tue, 15 Sep 2020 03:18:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E3EB6B0082; Tue, 15 Sep 2020 03:18:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0190.hostedemail.com [216.40.44.190]) by kanga.kvack.org (Postfix) with ESMTP id E8D346B007E for ; Tue, 15 Sep 2020 03:18:28 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id A8C71181AEF09 for ; Tue, 15 Sep 2020 07:18:28 +0000 (UTC) X-FDA: 77264442696.23.wool96_030ece72710f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id 71F9137608 for ; Tue, 15 Sep 2020 07:18:28 +0000 (UTC) X-HE-Tag: wool96_030ece72710f X-Filterd-Recvd-Size: 2636 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by imf31.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Sep 2020 07:18:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1600154308; x=1631690308; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=eW66CLmFOy7IK2qDlATs9vtZpjAznJ9HFsOj3jwR/+I=; b=S2955F8/EHYC7+3n0ahxq3CQ4k+I9nVhE8O1G7xstQYfZPrJtknf25mQ /hfIsKhl9/eiye5QgyJPVLhrsfT4TQJmNMF6zE9mPd8Ksklr9nk2KTKYR KGJwmNquPKusd/a81naGcfVxslvEewdmc5u8yv/Dw8k7kX58iLOBaiskx 8=; X-IronPort-AV: E=Sophos;i="5.76,429,1592870400"; d="scan'208";a="76217293" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 15 Sep 2020 07:18:00 +0000 Received: from EX13D31EUA004.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com (Postfix) with ESMTPS id 98591A2201; Tue, 15 Sep 2020 07:17:58 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.161.71) by EX13D31EUA004.ant.amazon.com (10.43.165.161) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Sep 2020 07:17:55 +0000 From: SeongJae Park To: "Matthew Wilcox (Oracle)" CC: , Andrew Morton , "Kirill A . Shutemov" , Huang Ying Subject: Re: [PATCH 03/11] mm/page_owner: Change split_page_owner to take a count Date: Tue, 15 Sep 2020 09:17:37 +0200 Message-ID: <20200915071737.11075-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200908195539.25896-4-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.71] X-ClientProxiedBy: EX13D04UWA004.ant.amazon.com (10.43.160.234) To EX13D31EUA004.ant.amazon.com (10.43.165.161) X-Rspamd-Queue-Id: 71F9137608 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 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:30 +0100 "Matthew Wilcox (Oracle)" wrote: > The implementation of split_page_owner() prefers a count rather than the > old order of the page. When we support a variable size THP, we won't > have the order at this point, but we will have the number of pages. > So change the interface to what the caller and callee would prefer. > > Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: SeongJae Park Thanks, SeongJae Park