From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] arm64: mm: add config options for page table configuration
Date: Thu, 8 Dec 2016 10:00:15 +0000 [thread overview]
Message-ID: <20161208100014.GE33075@MBP.local> (raw)
In-Reply-To: <1481139600-24455-2-git-send-email-scott.branden@broadcom.com>
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 at marvell.com
--
Catalin
WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Scott Branden <scott.branden@broadcom.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
Will Deacon <will.deacon@arm.com>,
BCM Kernel Feedback <bcm-kernel-feedback-list@broadcom.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/1] arm64: mm: add config options for page table configuration
Date: Thu, 8 Dec 2016 10:00:15 +0000 [thread overview]
Message-ID: <20161208100014.GE33075@MBP.local> (raw)
In-Reply-To: <1481139600-24455-2-git-send-email-scott.branden@broadcom.com>
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
next prev parent reply other threads:[~2016-12-08 10:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 19:39 [PATCH 0/1] arm64: mm: add config options for page table configuration Scott Branden
2016-12-07 19:39 ` Scott Branden
2016-12-07 19:40 ` [PATCH 1/1] " Scott Branden
2016-12-07 19:40 ` Scott Branden
2016-12-08 10:00 ` Catalin Marinas [this message]
2016-12-08 10:00 ` Catalin Marinas
2016-12-08 16:30 ` Scott Branden
2016-12-08 16:30 ` Scott Branden
2016-12-08 18:57 ` Catalin Marinas
2016-12-08 18:57 ` Catalin Marinas
2016-12-08 19:33 ` Scott Branden
2016-12-08 19:33 ` Scott Branden
2016-12-09 10:57 ` Will Deacon
2016-12-09 10:57 ` Will Deacon
2016-12-10 5:20 ` Scott Branden
2016-12-10 5:20 ` Scott Branden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161208100014.GE33075@MBP.local \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.