Re: [PATCH] mm: fix dma_poor_create

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <Yinghai.Lu@...>
Cc: Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>, David S. Miller <davem@...>
Date: Wednesday, February 20, 2008 - 2:52 am

* Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:



so this is about not crashing during bootup on nodes that have CPUs but 
which have no node-specific memory attached, right?

Shouldnt kmalloc_node() be made more robust instead? I.e. push the same 
code into kmalloc_node() - and make sure it will allocate _something_? 
That would probably also fix a similar bug in net/core/skbuff.c's 
__netdev_alloc_skb(), which too passes a dev_to_node() result to an 
allocator.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mm: fix dma_poor_create, Yinghai Lu, (Tue Feb 19, 10:45 pm)
Re: [PATCH] mm: fix dma_poor_create, Ingo Molnar, (Wed Feb 20, 2:52 am)
Re: [PATCH] mm: fix dma_poor_create, Yinghai Lu, (Wed Feb 20, 3:50 am)