Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Yinghai Lu <yinghai@xxxxxxxxxx>
- Date: Mon, 10 Nov 2008 02:00:58 -0800
Andrew Morton wrote:
On Mon, 10 Nov 2008 10:40:33 +0100 Ingo Molnar <mingo@xxxxxxx> wrote:
or at least introduce a "bootmem agnostic" allocator instead ofwhere is that fancy patch? current percpu_alloc(), will keep big@@ -987,6 +988,8 @@ void __init mem_init(void)this hack can go away once we have a proper percpu_alloc() that can be
set_highmem_pages_init();
+ after_bootmem = 1;
used early enough.
pointer in array..., instead of put that pointer in percpu_area
64bit has that after_bootmem already.
open-coding the after_bootmem flag.
Something like:
early_kzalloc()
?
Andrew, any preferences?
My mind reading ain't what it was, and this after_bootmem flag is
write-only in this patch.
So what's all this about?
if i use alloc_bootmem to get some memory, and later after_bootmem, can I use kfree to free it?
YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Ingo Molnar
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- References:
- [RFC PATCH] sparse_irq aka dyn_irq
- From: Yinghai Lu
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Ingo Molnar
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Yinghai Lu
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Ingo Molnar
- Re: [RFC PATCH] sparse_irq aka dyn_irq
- From: Andrew Morton
- [RFC PATCH] sparse_irq aka dyn_irq
- Prev by Date: Re: [patch 6/7] SDHCI: Check DMA for overruns at end of transfer
- Next by Date: Re: [patch 0/7] cpuset writeback throttling
- Previous by thread: Re: [RFC PATCH] sparse_irq aka dyn_irq
- Next by thread: Re: [RFC PATCH] sparse_irq aka dyn_irq
- Index(es):
Relevant Pages
|