lkml.org 
[lkml]   [2000]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: adding physical memory-pages to Linux' pool-of-pages
Heusden, Folkert van wrote:
> Afaik the linux kernel has knowledge of several kinds of ram (at least the
> Atari ST/TT-kernel should have), so just set it to the slow-variant.

The kernel has "zones" for different kinds of RAM that can be accessed
in different ways, but it still assumes they are more or less the same
speed. This means that if the PCI RAM were allocated for a user space
page, it would stay continue using the PCI RAM even if it's used
heavily.

If instead you use the PCI RAM as a ramdisk and swap to it,
any program which makes heavy use of a page will cause the page to stay
in main RAM where it should remain.

-- Jamie

-
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:57    [W:0.026 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site