lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 9/9] x86/mm: Adjust virtual address space layout in early boot
    On Wed, Feb 14, 2018 at 12:10:49PM +0000, Ingo Molnar wrote:
    >
    > * Kirill A. Shutemov <kirill.shutemov@linux.intel.com> wrote:
    >
    > > We need to adjust virtual address space to support switching between
    > > paging modes.
    > >
    > > The adjustment happens in __startup_64().
    > >
    > > We also have to change KASLR code that doesn't expect variable
    > > VMALLOC_SIZE_TB.
    > >
    > > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    > > ---
    > > arch/x86/boot/compressed/kaslr.c | 14 ++++++++--
    > > arch/x86/include/asm/page_64_types.h | 9 ++----
    > > arch/x86/include/asm/pgtable_64_types.h | 25 +++++++++--------
    > > arch/x86/kernel/head64.c | 49 +++++++++++++++++++++++++++------
    > > arch/x86/kernel/head_64.S | 2 +-
    > > arch/x86/mm/dump_pagetables.c | 3 ++
    > > arch/x86/mm/kaslr.c | 11 ++++----
    > > 7 files changed, 77 insertions(+), 36 deletions(-)
    >
    > This is too large and risky - would it be possible to split this up into multiple,
    > smaller patches?

    Let me check what I can do here.

    If you are fine with previous patches please apply. I will send split up
    of this patch separately.

    --
    Kirill A. Shutemov

    \
     
     \ /
      Last update: 2018-02-14 13:20    [W:4.501 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site