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=-6.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 3BAB7C07E99 for ; Fri, 9 Jul 2021 06:46:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08B7361420 for ; Fri, 9 Jul 2021 06:46:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbhGIGtO (ORCPT ); Fri, 9 Jul 2021 02:49:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbhGIGtM (ORCPT ); Fri, 9 Jul 2021 02:49:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4108EC0613DD for ; Thu, 8 Jul 2021 23:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=EfwgfPFv2bsxCm6/g8v31sKydc517GJY8FceUAm+cAs=; b=n0LD5rqTZ1OdrSejwq6FtN/Y+p ljlo/sZo3NGv9ZySEUBFWes7cfmazJO0D+Gi0cMCQziI/uwb1g34oEdSM1yncU5fi8Kl1ak2YeND2 p2eWnD167MCfmESR4e6AMuoqagCMx/JNIGOjhtwcI1/2DUMLaT93u+re4ZtZ2uowWCdQloVzSdRTD AosLq/P51qLMIK7UQ0gtKzyLkohrePmSWYrYX7BnTw3r0L7m/25MCBn1WJ+t5hYyilZz/qHEvcVMj zrmOomgF+I38/EsXFxt1nGoxkyW5DfoaC4TvWkgNjMmlKw5fty8uT2gidRfzvAinsDQGZLwDMrtya cRS65S3Q==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1kHB-00EEXQ-24; Fri, 09 Jul 2021 06:46:19 +0000 Date: Fri, 9 Jul 2021 07:46:17 +0100 From: Christoph Hellwig To: Qu Wenruo Cc: Neal Gompa , David Sterba , Btrfs BTRFS Subject: Re: [PATCH 0/6] Remove highmem allocations, kmap/kunmap Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Fri, Jul 09, 2021 at 07:53:39AM +0800, Qu Wenruo wrote: > Sorry, I can't see the reason why it would cause performance drop or > higher memory usage. > > The point of HIGHMEM is to work on archs where system can only access > memory below 4G reliably, any memory above 4G must be manually mapped > into the 4G range before access. > > AFAIK it's only x86 using PAE needs this, and none of the ARM SoC uses > such feature. Arm calls it LPAE, but otherwise it is the same.