lkml.org 
[lkml]   [1999]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMemory Allocation policy
An interesting question has been asked on my local LUGs mailing list.
How does the kernel allocate memory? For example, I remember something
about how Solaris allocates memory from swap first but when the memory
is actually used it takes it from RAM. And then there is the whole idea
of putting RAM & swap together as one big pool.

Someone else mentioned that MacOS _always_ tried to allocate space for
the app in swap no matter how much RAM was available. The discussion
stems from the idea of running Linux without any swap, given that many
people have 128+MB of RAM these days.

So how does the Linux kernel do it?

--
Mark E Drummond
mdrmmond@kos.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.048 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site