Re: way to allocate memory within a range ?

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

 



On Wed, 24 Feb 2010 01:46:49 +0100
Auguste Mome <augustmome@xxxxxxxxx> wrote:

> Hello,
> I'd like to use kmem_cache() system, but need the memory taken from a
> specific range if requested, outside the range otherwise.
> I think about adding new zone and define new GFP flag to either select or
> ignore the zone. Does it sound possible? Then I welcome any hint if you know
> where to add the appropriated test in allocator, how to attach the
> region to the new zone id).
> 
> Or slab/slub system is not designed for this, I should forget it and
> opt for another system?
> 
I think you can find adding a new zone is very hard.
please forget.

But for what purpose you want to specifiy phyiscal address of memory ?

Thanks,
-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]