lkml.org 
[lkml]   [2007]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Help Understanding Linux memory management
Date
Hi,

> I've been a MS Windows based programmer for a very long time and was
> recently tossed in an environment where I am developing embedded apps on
> the m68k / Linux platform. That makes me a Linux newbie. I started
> asking a few questions on various IRC channels and was directed to this
> group. So, I will start asking:
>
> These are questions derived from observations on the MCF 5475 CPU
> running Linux 2.6.10 built for the m68k platform. Disk swapping is
> disabled.
>
> 1) When physical memory runs low, the memory manager will try to use
> memory currently allocated to the pagecache. Is this true?
>
> 2) When vm.overcommit_memory = 2 (overcommit disabled), and memory runs
> low, it appears that the memory manager does not try to use memory
> currently allocated to pagecache. Is this true?
>
> 3) Is it possible to disable the pagecache?

Have you read the "Understanding the Linux Virtual Memory Manager" book by Mel
Gorman ? It describes the virtual memory manager in details. I was impressed
by the amount of technical information Mel Gorman gathered and explained
clearly in a single book. Given the ever-changing nature of the Linux kernel,
such detailed documentation about core subsystem is often hard to find.

You can get the book at
http://www.phptr.com/bookstore/product.asp?isbn=0131453483&rl=1#

Laurent Pinchart
-
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: 2007-04-10 16:25    [W:0.084 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site