lkml.org 
[lkml]   [2002]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Alloc and lock down large amounts of memory
From
Date
On Sun, 2002-08-18 at 15:18, Alan Cox wrote:
> On Sun, 2002-08-18 at 13:09, Gilad Ben-Yossef wrote:
> > > Can 256M be allocated using vmalloc, if so is it swappable?
> >
> > It can be alloacted via vmalloc and AFAIK it is not swappable by
> > default. This doesn't sound like a very good idea though.
>
> There isnt enough address space for vmalloc to grab 256Mb. If you want
> that much then you need to handle the fact its in page arrays not
> virtually linear yourself.

Oopss... indeed. 256M is twice the entire vmalloc address space to be
exact.

Thanks for correcting my mistake ;-)

Gilad.

--
Gilad Ben-Yossef <gilad@benyossef.com>
http://benyossef.com

"Money talks, bullshit walks and GNU awks."
-- Shachar "Sun" Shemesh, debt collector for the GNU/Yakuza

-
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: 2005-03-22 13:28    [W:0.128 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site