Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538410

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] arm64: mm: add config options for page table configuration
Date 2016-12-08 11:10 +0100
Message-ID <sM3Oh-4RM-1@gated-at.bofh.it> (permalink)
References <sLQo1-4iZ-1@gated-at.bofh.it> <sLQo2-4iZ-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote:
> Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding
> config options.
> Default to current settings currently defined in sparesmem.h.
> For systems wishing to save memory the config options can be overridden.
> Example, changing MAX_PHYSMEM_BITS from 48 to 36 at the same time as
> changing SECTION_SIZE_BITS from 30 to 26 frees 13MB of memory.

I'm not keen on such change, it's a big departure from the single Image
aims. I would rather reduce SECTION_SIZE_BITS permanently where
feasible, like in this patch:

http://lkml.kernel.org/r/1465821119-3384-1-git-send-email-jszhang@marvell.com

-- 
Catalin

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/1] arm64: mm: add config options for page table configuration Scott Branden <scott.branden@broadcom.com> - 2016-12-07 20:50 +0100
  [PATCH 1/1] arm64: mm: add config options for page table configuration Scott Branden <scott.branden@broadcom.com> - 2016-12-07 20:50 +0100
    Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Catalin Marinas <catalin.marinas@arm.com> - 2016-12-08 11:10 +0100
      Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Scott Branden <scott.branden@broadcom.com> - 2016-12-08 17:40 +0100
        Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Catalin Marinas <catalin.marinas@arm.com> - 2016-12-08 20:00 +0100
          Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Scott Branden <scott.branden@broadcom.com> - 2016-12-08 20:40 +0100
            Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Will Deacon <will.deacon@arm.com> - 2016-12-09 12:00 +0100
              Re: [PATCH 1/1] arm64: mm: add config options for page table  configuration Scott Branden <scott.branden@broadcom.com> - 2016-12-10 06:30 +0100

csiph-web