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


Groups > linux.kernel > #1725813

Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory

From Baoquan He <bhe@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory
Date 2017-09-04 04:30 +0200
Message-ID <ulPjb-85u-5@gated-at.bofh.it> (permalink)
References <ulEe6-166-7@gated-at.bofh.it> <ulMbD-68R-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/04/17 at 12:55am, Rafael J. Wysocki wrote:
> On Sunday, September 3, 2017 4:31:23 PM CEST Chao Fan wrote:
> > KASLR should choose the memory region of immovable node to extract kernel.
> > So get ACPI SRAT table and store the memory region of movable node which
> > kaslr shold avoid.
> 
> Please elaborate.
> 
> This is far too little information on what problem you are trying to address
> and why you are trying to address it in this particular way.

Agree with Rafael.

Why don't you try specifying those regions in cmdline and process them
in kaslr.c? Your colleague, Liyang has tried this way, just he only
considered the region in the first node. In this way, you don't need to
touch ACPI tables with so many lines of code.

Thanks
Baoquan

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


Thread

[PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-09-03 16:40 +0200
  Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-09-04 01:10 +0200
    Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-09-04 03:50 +0200
    Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Baoquan He <bhe@redhat.com> - 2017-09-04 04:30 +0200
      Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-09-04 05:10 +0200
      Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-09-04 10:20 +0200
        Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Baoquan He <bhe@redhat.com> - 2017-09-04 10:40 +0200
          Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-09-04 11:00 +0200
          Re: [PATCH v2] kaslr: get ACPI SRAT table to avoid movable memory Chao Fan <fanc.fnst@cn.fujitsu.com> - 2017-09-04 11:10 +0200

csiph-web