On Wed, Jun 02, 2010 at 04:58:06AM -0400, Anoop P.A. wrote:
> Thanks for the reply.
> > > allocated with same prefix. In another words all the buffers should
> > > below < 0x1fff_ffff ( physical address) or between 0x2000_0000 and
> > > 0x3fff_ffff like that.
> > >
> > > Is there any way to force kmalloc to allocate memory in certain
> > > or below some region?
> > Nothing that would uniformly work for 32-bit and 64-bit kernels and
> > Linux only has flags that allocate below certain addresses; nothing
> > tells the allocator "give me something between 0x20000000 and
> > Ralf
> [Anoop P.A.] You mean there are some flags available to force kmalloc to
> allocate memory below some address? I couldn't find one in kmalloc man
Ralf said "nothing". My reading is that such a flag is _not_ available.