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


Groups > linux.kernel > #1343963

Re: [PATCH v8] x86/setup: get ramdisk parameters only once

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH v8] x86/setup: get ramdisk parameters only once
Date 2016-02-26 10:50 +0100
Message-ID <r6nc6-17o-3@gated-at.bofh.it> (permalink)
References <r6mzn-Sk-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 26, 2016 at 03:04:36PM +0600, Alexander Kuleshov wrote:
> The check and definitions related to ramdisk are similar in the
> early_reserve_initrd() and reserve_initrd() functions.
> 
> This patch introduces struct ramdisk which contains information
> about initrd. This structure will be filled in the setup_arch()
> and passed to the reserve_initrd() and relocate_initrd() functions.
> 
> This allows us to not get/check ramdisk parameters from the bootparams
> every time in the early_reserve_initrd(), reserve_initrd() and
> relocate_initrd() function.
> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>

...

>  arch/x86/kernel/setup.c | 107 ++++++++++++++++++++++++++----------------------
>  1 file changed, 59 insertions(+), 48 deletions(-)

Reviewed-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

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


Thread

[PATCH v8] x86/setup: get ramdisk parameters only once Alexander Kuleshov <kuleshovmail@gmail.com> - 2016-02-26 10:10 +0100
  Re: [PATCH v8] x86/setup: get ramdisk parameters only once Borislav Petkov <bp@suse.de> - 2016-02-26 10:50 +0100
  [tip:x86/boot] x86/setup: Calculate ramdisk parameters only once tip-bot for Alexander Kuleshov <tipbot@zytor.com> - 2016-02-29 12:00 +0100

csiph-web