Re: [PATCH]: xen: fix too early kmalloc call

From: Ingo Molnar
Date: Mon Jan 12 2009 - 03:53:26 EST



* Mike Travis <travis@xxxxxxx> wrote:

> Subject: xen: fix too early kmalloc call
>
> From: Christophe Saout <christophe@xxxxxxxx>
>
> Impact: fixes bootup of xen.
>
> Christophe reported the following problem:
>
> > (basically it seems that SLAB is not yet up, with earlyprintk it is
> > giving me an Oops in __kmalloc before)
>
> Replace call to kmalloc with alloc_bootmem.
>
> Also from Christophe:
> > (me)
> > > Or I could copy the text and submit it as a new patch?
> >
> > Yes, I would prefer that. Also, my commit message was not really
> > following Kernel standards and it's only a very simple change.
>
> Signed-off-by: Mike Travis <travis@xxxxxxx>

i've applied the fix to tip/cpus4096, in the form below.

Please submit clean log messages. Your commit description was confused -
the patch is From: Christophe, but the message talks about Christophe in
the third person. Also, it included conversational bits that have no
value for the Git history.

Ingo

-------------------->