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


Groups > linux.kernel > #1211371

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

From Tony Luck <tony.luck@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems
Date 2015-08-22 02:00 +0200
Message-ID <q04o1-22f-3@gated-at.bofh.it> (permalink)
References (1 earlier) <oiHOG-6x8-17@gated-at.bofh.it> <pZZ50-31h-31@gated-at.bofh.it> <pZZom-3ny-13@gated-at.bofh.it> <q016P-5Vh-35@gated-at.bofh.it> <q01zQ-6sW-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 21, 2015 at 1:50 PM, Yinghai Lu <yinghai@kernel.org> wrote:
>> It seems that many systems with large amounts of memory
>> will have a nicely aligned max_pfn ... so they will get
>> the 2GB block size.  If they don't have a well aligned
>> max_pfn, then they need to use a smaller size to avoid
>> the crash I saw.
>
> Good to me.

Still stuff going on that I don't understand here. I increased the amount of
mirrored memory in this machine which moved max_pfn to 0x7560000
and probe_memory_block_size() picked 512MB as the memory_block_size,
which seemed plausible.

But my kernel still crashed during boot with this value. :-(
Forcing the block size to 128M made the system boot.

Maybe all the holes in the e820 map matter too (specifically the
alignment of the holes)?

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


Thread

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64  systems "Luck, Tony" <tony.luck@intel.com> - 2015-08-21 20:20 +0200
  Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-21 20:40 +0200
    Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64  systems "Luck, Tony" <tony.luck@intel.com> - 2015-08-21 22:30 +0200
      Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-21 23:00 +0200
        Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Tony Luck <tony.luck@gmail.com> - 2015-08-22 02:00 +0200
          Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-24 19:50 +0200
            Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-24 23:30 +0200
              Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-25 01:50 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-25 02:10 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-25 21:10 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Tony Luck <tony.luck@gmail.com> - 2015-08-26 00:10 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64  systems Ingo Molnar <mingo@kernel.org> - 2015-08-26 06:20 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-26 07:50 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64  systems Andrew Morton <akpm@linux-foundation.org> - 2015-08-26 22:50 +0200
                Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems Yinghai Lu <yinghai@kernel.org> - 2015-08-26 23:20 +0200

csiph-web