lkml.org 
[lkml]   [2008]   [Feb]   [21]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateThu, 21 Feb 2008 11:16:58 +0530
FromBalbir Singh <>
SubjectRe: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig
Nick Piggin wrote:
>> 1. We could create something similar to mem_map, we would need to handle 4
> 
>> different ways of creating mem_map.
> 
>> 2. On x86 with 64 GB ram, if we decided to use vmalloc space, we would need
> 
>> 64 MB of vmalloc'ed memory
> 
> That's going to be a big job. You could probably do it quite easily for
> 
> flatmem (just store an offset into the start of your page array), and
> 
> maybe even sparsemem (add some "extra" information to the extents).
> 
>> I have not explored your latest suggestion of pfn <-> memory controller
> 
>> mapping yet. I'll explore it and see how that goes.
> 
> If you did that using a radix-tree, then it could be a runtime option
> 
> without having to use vmalloc. And you wouldn't have to care about
> 
> memory models. I'd say it will be the fastest way to get a prototype
> 
> running.
> 

OK, I'll explore and prototype the radix tree based approach and see how that goes.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-02-21 05:55    [W:1.826 / U:0.090 seconds]
©2003-2008 Jasper Spaans