lkml.org 
[lkml]   [2022]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv7 05/14] x86/boot: Add infrastructure required for unaccepted memory support
On Tue, Jun 14, 2022 at 03:02:22PM +0300, Kirill A. Shutemov wrote:
> Pull functionality from the main kernel headers and lib/ that is
> required for unaccepted memory support.
>
> This is preparatory patch. The users for the functionality will come in
> following patches.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> ---
> arch/x86/boot/bitops.h | 40 ++++++++++++
> arch/x86/boot/compressed/align.h | 14 +++++
> arch/x86/boot/compressed/bitmap.c | 43 +++++++++++++
> arch/x86/boot/compressed/bitmap.h | 49 +++++++++++++++
> arch/x86/boot/compressed/bits.h | 36 +++++++++++
> arch/x86/boot/compressed/compiler.h | 9 +++
> arch/x86/boot/compressed/find.c | 54 ++++++++++++++++
> arch/x86/boot/compressed/find.h | 80 ++++++++++++++++++++++++
> arch/x86/boot/compressed/math.h | 37 +++++++++++
> arch/x86/boot/compressed/minmax.h | 61 ++++++++++++++++++
> arch/x86/boot/compressed/pgtable_types.h | 25 ++++++++

That's quite a lot of duplicated code; is there really no way so share
this?

\
 
 \ /
  Last update: 2022-06-15 12:22    [W:1.067 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site