[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080730134011.24d10dfe.akpm@linux-foundation.org>
Date: Wed, 30 Jul 2008 13:40:11 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Bernhard Walle <bwalle@...e.de>
Cc: linux-kernel@...r.kernel.org, kexec@...ts.infradead.org,
vgoyal@...hat.com, x86@...nel.org
Subject: Re: [PATCH 2/2] firmware/memmap: Move kobject initialisation before
kobject_add()
On Wed, 30 Jul 2008 22:14:24 +0200
Bernhard Walle <bwalle@...e.de> wrote:
> * Bernhard Walle <bwalle@...e.de> [2008-07-30 22:12]:
> >
> > Because kobject_init() call could be done from firmware_map_add_entry()
> > which is called before kmalloc() can be used (we use the early bootmem allocator
> > here), move that call to memmap_init() which is a late_initcall.
>
> You can leave out that patch now since kobject_init() was adapted with
> the other patch ... But I think it would still make sense to include
> that one.
What one? Your thises and thats are confusing.
If you think that "firmware/memmap: Move kobject initialisation before
kobject_add()" should still be applied then I'd disagree. Adding a
GFP_KERNEL allocation into kobject_init() was a fairly significant
backward step. It's _good_ that kobject_init() can be called this
early. Let us strive to retain that robustness.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists