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


Groups > linux.kernel > #1294460

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

From "Luck, Tony" <tony.luck@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
Date 2015-12-18 08:00 +0100
Message-ID <qGXbb-28f-3@gated-at.bofh.it> (permalink)
References (11 earlier) <qGwXo-1Nl-7@gated-at.bofh.it> <qGyPv-32a-5@gated-at.bofh.it> <qGyZb-3kJ-5@gated-at.bofh.it> <qGLMK-3bD-7@gated-at.bofh.it> <qGSOd-7Tq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>Hmm...like this ?
>       sysctl.vm.fallback_mirror_memory = 0  // never fallback  # default.
>       sysctl.vm.fallback_mirror_memory = 1  // the user memory may be allocated from mirrored zone.
>       sysctl.vm.fallback_mirror_memory = 2  // usually kernel allocates memory from mirrored zone before OOM.
>       sysctl.vm.fallback_mirror_memory = 3  // 1+2

Should option 2 say: // allow kernel to allocate from non-mirror zone to avoid OOM

> However I believe my customer's choice is always 0, above implementation can be done in a clean way.
> (adding a flag to zones (mirrored or not) and controlling fallback zonelist walk.)

Modes allow us to make all of the people happy (I hope).

> BTW, we need this Taku's patch to make a progress. I think other devs should be done in another
> development cycle. What does he need to get your Acks ?

The concept is great.   It's even "Tested-by: Tony Luck <tony.luck@intel.com>".
I need to read the code more carefully before Acked-by.

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

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


Thread

RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-17 02:40 +0100
  Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-17 04:00 +0100
    Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-17 04:00 +0100
      Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-17 06:00 +0100
        Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-17 06:10 +0100
          RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Luck, Tony" <tony.luck@intel.com> - 2015-12-17 19:50 +0100
            Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-18 03:20 +0100
              RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Luck, Tony" <tony.luck@intel.com> - 2015-12-18 08:00 +0100

csiph-web