Re: [PATCH] sparc64: Use node local allocations for IRQ stacks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Fri, 27 Apr 2012 19:58:16 +0200

> On Fri, Apr 27, 2012 at 01:34:07PM -0400, David Miller wrote:
>> > Knowing that sparc64 just got converted to NO_BOOTMEM it
>> > hurts my eyes to see memblock_alloc() be replaced
>> > by __alloc_bootmem_node().
>> 
>> Since the stack allocations happen now (for the sake of setting
>> up the NUMA mappings) after bootmem init, it's prudent to use
>> the alloc_bootmem interfaces.
> 
> It was my understanding that everything provided by mm/nobootmem.c
> is wrappers provided for backward compatibility with the old
> bootmem based early allocator.
> And that we later would make this file optional when.
> 
> But I seems to be wrong here.

Once the memblock functions provide NUMA node fallbacks and
__va()/memset wrappers, we can certainly use memblock directly :-)
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux MIPS Home]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite News]     [MIPS Architecture]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux