Re: 2.6.23-rc6-mm1 panic (memory controller issue ?)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: Badari Pulavarty <pbadari@...>, Andrew Morton <akpm@...>, <balbir@...>, lkml <linux-kernel@...>
Date: Wednesday, September 19, 2007 - 2:18 pm

Christoph Lameter wrote:

Yes, the whole code is very interesting. From add_to_page_cache()
we call radix_tree_preload with __GFP_HIGHMEM cleared, but
from __add_to_swap_cache(), we don't make any changes to the
gfp_mask. radix_tree_preload() calls kmem_cache_alloc() and in slub
there is a check

        BUG_ON(flags & GFP_SLAB_BUG_MASK);

So, I guess all our allocations should check against __GFP_DMA and
__GFP_HIGHMEM. I'll review the code, test it and send a fix.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc6-mm1 panic (memory controller issue ?), Badari Pulavarty, (Tue Sep 18, 6:21 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Badari Pulavarty, (Tue Sep 18, 8:31 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Christoph Lameter, (Wed Sep 19, 1:24 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Balbir Singh, (Tue Sep 18, 9:53 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Christoph Lameter, (Wed Sep 19, 1:25 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Balbir Singh, (Wed Sep 19, 2:18 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Christoph Lameter, (Wed Sep 19, 2:54 pm)
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?), Balbir Singh, (Wed Sep 19, 3:04 pm)