2002-08-06 03:14:53

by Patricia Gaughen

[permalink] [raw]
Subject: [PATCH] modularization of mem_init() for 2.4.20pre1


Please consider this patch for inclusion into the 2.4.20pre tree.
It was accepted into the 2.4.19pre6aa1, with slight modifications
by Andrea that I have incorporated those changes into my patch.
This patch, along with the modularization of setup_arch, and the
{node,zone}_start_paddr to {node,zone}_start_pfn change, are the
patches that my i386 discontigmem patch depends on.

This patch restructures mem_init() for i386 to make it easier to
include the i386 numa changes (for CONFIG_DISCONTIGMEM) I've been
working on. It also makes mem_init() easier to read.

This patch does not depend on the other patches I'm submitting today, but
my discontigmem patch does depend on this one.

I've tested this patch on the following configurations: UP, SMP, SMP PAE,
multiquad, multiquad PAE, multiquad DISCONTIGMEM, multiquad DISCONTIGMEM PAE.

Any and all feedback regarding this patch is greatly appreciated.

Thanks,
Pat

--
Patricia Gaughen ([email protected])
IBM Linux Technology Center
http://www.ibm.com/linux/ltc/



Attachments:
linux-2.4.20-pre1_meminit_A2.patch (2.60 kB)
linux-2.4.20-pre1_meminit_A2.patch

2002-08-06 16:46:02

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: [PATCH] modularization of mem_init() for 2.4.20pre1



On Mon, 5 Aug 2002, Patricia Gaughen wrote:

>
> Please consider this patch for inclusion into the 2.4.20pre tree.
> It was accepted into the 2.4.19pre6aa1, with slight modifications
> by Andrea that I have incorporated those changes into my patch.
> This patch, along with the modularization of setup_arch, and the
> {node,zone}_start_paddr to {node,zone}_start_pfn change, are the
> patches that my i386 discontigmem patch depends on.
>
> This patch restructures mem_init() for i386 to make it easier to
> include the i386 numa changes (for CONFIG_DISCONTIGMEM) I've been
> working on. It also makes mem_init() easier to read.
>
> This patch does not depend on the other patches I'm submitting today, but
> my discontigmem patch does depend on this one.
>
> I've tested this patch on the following configurations: UP, SMP, SMP PAE,
> multiquad, multiquad PAE, multiquad DISCONTIGMEM, multiquad DISCONTIGMEM PAE.
>
> Any and all feedback regarding this patch is greatly appreciated.

It looks ok but what about surrounding init_one_highpage with
CONFIG_HIGHMEM?

2002-08-06 18:35:58

by Patricia Gaughen

[permalink] [raw]
Subject: Re: [PATCH] modularization of mem_init() for 2.4.20pre1


> It looks ok but what about surrounding init_one_highpage with
> CONFIG_HIGHMEM?
>

Here's the updated patch.

Thanks,
Pat

--
Patricia Gaughen ([email protected])
IBM Linux Technology Center
http://www.ibm.com/linux/ltc/


Attachments:
linux-2.4.20-pre1_meminit_A3.patch (2.66 kB)
linux-2.4.20-pre1_meminit_A3.patch