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


Groups > linux.kernel > #1251171

RE: [PATCH] mm: Introduce kernelcore=reliable option

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From "Izumi, Taku" <izumi.taku@jp.fujitsu.com>
Newsgroups linux.kernel
Subject RE: [PATCH] mm: Introduce kernelcore=reliable option
Date Tue, 20 Oct 2015 02:40:01 +0200
Message-ID <qlt85-48v-1@gated-at.bofh.it> (permalink)
References <qjIkW-3LP-5@gated-at.bofh.it> <ql8Gl-7Ua-5@gated-at.bofh.it>
X-Original-To Xishi Qiu <qiuxishi@huawei.com>
Thread-Topic [PATCH] mm: Introduce kernelcore=reliable option
Thread-Index AQHRBwIWsnzzXPW5Mk+QHZzYThkAGp5xheeAgAIHZVA=
Accept-Language ja-JP, en-US
Content-Language ja-JP
X-Securitypolicycheck OK by SHieldMailChecker v2.3.2
X-Shieldmailcheckerpolicyversion FJ-ISEC-20150624-1
X-Shieldmailcheckermailid 98a7fef0f3bc4562bd160207113001b7
X-Originating-IP [10.124.102.50]
Content-Type text/plain; charset="iso-2022-jp"
MIME-Version 1.0
X-Securitypolicycheck-Gc OK by FENCE-Mail
X-Tm-As-Mml disable
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 55
Organization linux.* mail to news gateway
X-Original-Cc "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-mm@kvack.org" <linux-mm@kvack.org>, "tony.luck@intel.com" <tony.luck@intel.com>, "Kamezawa, Hiroyuki" <kamezawa.hiroyu@jp.fujitsu.com>, "mel@csn.ul.ie" <mel@csn.ul.ie>, "akpm@linux-foundation.org" <akpm@linux-foundation.org>, "dave.hansen@intel.com" <dave.hansen@intel.com>, "matt@codeblueprint.co.uk" <matt@codeblueprint.co.uk>
X-Original-Date Tue, 20 Oct 2015 00:34:51 +0000
X-Original-Message-ID <E86EADE93E2D054CBCD4E708C38D364A5427FECE@G01JPEXMBYT01>
X-Original-References <1444915942-15281-1-git-send-email-izumi.taku@jp.fujitsu.com> <5624548F.30500@huawei.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1251171

Show key headers only | View raw


 Hi Xishi,

> On 2015/10/15 21:32, Taku Izumi wrote:
> 
> > Xeon E7 v3 based systems supports Address Range Mirroring
> > and UEFI BIOS complied with UEFI spec 2.5 can notify which
> > ranges are reliable (mirrored) via EFI memory map.
> > Now Linux kernel utilize its information and allocates
> > boot time memory from reliable region.
> >
> > My requirement is:
> >   - allocate kernel memory from reliable region
> >   - allocate user memory from non-reliable region
> >
> > In order to meet my requirement, ZONE_MOVABLE is useful.
> > By arranging non-reliable range into ZONE_MOVABLE,
> > reliable memory is only used for kernel allocations.
> >
> > This patch extends existing "kernelcore" option and
> > introduces kernelcore=reliable option. By specifying
> > "reliable" instead of specifying the amount of memory,
> > non-reliable region will be arranged into ZONE_MOVABLE.
> >
> > Earlier discussion is at:
> >  https://lkml.org/lkml/2015/10/9/24
> >
> 
> Hi Taku,
> 
> If user don't want to waste a lot of memory, and he only set
> a few memory to mirrored memory, then the kernelcore is very
> small, right? That means OS will have a very small normal zone
> and a very large movable zone.

 Right.

> Kernel allocation could only use the unmovable zone. As the
> normal zone is very small, the kernel allocation maybe OOM,
> right?

 Right.

> Do you mean that we will reuse the movable zone in short-term
> solution and create a new zone(mirrored zone) in future?

 If there is that kind of requirements, I don't oppose 
 creating a new zone.

 Sincerely,
 Taku Izumi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH] mm: Introduce kernelcore=reliable option Xishi Qiu <qiuxishi@huawei.com> - 2015-10-19 04:50 +0200
  RE: [PATCH] mm: Introduce kernelcore=reliable option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-10-20 02:40 +0200
    Re: [PATCH] mm: Introduce kernelcore=reliable option Xishi Qiu <qiuxishi@huawei.com> - 2015-10-20 03:50 +0200

csiph-web