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 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.lore.kernel.org (Postfix) with ESMTPS id 583E6C433EF for ; Thu, 10 Feb 2022 11:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KYhsrYc9jiwtg44MplZAgPUMSet6yomTrwYhL621ls4=; b=ydXQwsH46B+NfB B5NW2l8QF/EVY8NlrakiHtT3PDYYIhUTEEImUO87DGLam6HJ8TIHLCDJqtBOfMCvmTA8Fm4NwGvqX gN0qBJUQITkwGEWLzgcJv8ItDVM6n0sdxyDxUdJAKyNQP28/T01RmIPh3RvKhqTUOVWVnAPm1c5T8 2TS+hJN8ZXB8oJykKj23O5n5xU/gHF2I8wSIqaXdZCjvTDRrPqMz7xT3ZmKqjsYhoRdMawG43nHSq vIbibD3ug9PFV1PLAjDiORQ16LSzSkKxsLp4wKfxBW8mwbKtOAx/0uxfbWYQu3iPT8u55ScXCU+Rn tLdl2xzti8oGx3A1Q8QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI7X1-003ZRl-EF; Thu, 10 Feb 2022 11:22:35 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI7Wx-003ZQY-UH for linux-arm-kernel@lists.infradead.org; Thu, 10 Feb 2022 11:22:33 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id A9D5ECE241E; Thu, 10 Feb 2022 11:22:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41173C004E1; Thu, 10 Feb 2022 11:22:25 +0000 (UTC) Date: Thu, 10 Feb 2022 11:22:22 +0000 From: Catalin Marinas To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] arm64/hugetlb: Define __hugetlb_valid_size() Message-ID: References: <1644491770-16108-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1644491770-16108-1-git-send-email-anshuman.khandual@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220210_032232_231458_99C1EAF4 X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 10, 2022 at 04:46:10PM +0530, Anshuman Khandual wrote: > arch_hugetlb_valid_size() can be just factored out to create another helper > to be used in arch_hugetlb_migration_supported() as well. This just defines > __hugetlb_valid_size() for that purpose. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel