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


Groups > linux.kernel > #1288101

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
Date 2015-12-10 02:20 +0100
Message-ID <qDY3M-7DN-5@gated-at.bofh.it> (permalink)
References <qDDsm-2Lw-13@gated-at.bofh.it> <qDDsm-2Lw-11@gated-at.bofh.it> <qDDC2-2Px-21@gated-at.bofh.it> <qDUWe-5u5-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015/12/10 5:59, Luck, Tony wrote:

>> How about add some comment, if mirrored memroy is too small, then the
>> normal zone is small, so it may be oom.
>> The mirrored memory is at least 1/64 of whole memory, because struct
>> pages usually take 64 bytes per page.
> 
> 1/64th is the absolute lower bound (for the page structures as you say). I
> expect people will need to configure 10% or more to run any real workloads.
> 
> I made the memblock boot time allocator fall back to non-mirrored memory
> if mirrored memory ran out.  What happens in the run time allocator if the
> non-movable zones run out of pages? Will we allocate kernel pages from movable
> memory?
> 

As I know, the kernel pages will not allocated from movable zone.

Thanks,
Xishi Qiu

> -Tony
> --
> 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/
> 
> .
> 



--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/2] mm: Introduce kernelcore=mirror option Taku Izumi <izumi.taku@jp.fujitsu.com> - 2015-12-09 04:20 +0100
  Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-09 04:30 +0100
    RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Luck, Tony" <tony.luck@intel.com> - 2015-12-09 23:00 +0100
      Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-10 02:20 +0100
        RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-10 06:40 +0100
          Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-10 07:20 +0100
            RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-11 07:00 +0100
              Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-11 10:50 +0100

csiph-web