Linux-MM
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Linux Memory Management

  • Front Page

  • Documentation

  • Internals

  • Projects

  • Academic Research

References

  • LinuxKernelMailingLists

  • MemoryManagementLinks

Related sites

  • Kernel Newbies

  • Memory Management Forum

Wiki

  • Site Editors

  • Side Bar

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 3 as of 2007-03-14 20:59:10
LinuxMM:
  • SoftwareZones

Requirements

  • A container must have some limit on the amount of memory it may use.
  • The overhead in storage, processing time, and dedicated lines of code to the greater kernel should be minimized
  • Memory which is private to the container (say, anonymous memory) must be strictly accounted to it
  • Memory for files may be accounted to either the container or a shared pool
    • Some care should be taken to ensure that a container may not abuse this shared pool
    • It is preferable to actually determine when sharing is "acually" occurring, but approximate metrics should be OK.

Software Zones

Use the existing Linux zone model to create sets of contiguous memory. Each of these is a subset of the current 'struct zone'. Each container gets one or more of these zones from which to allocate its pages. Pages shared between containers will be placed in centralized, "shared" zones.

Static Page Ownership

Software Zones

Static Page Ownership

Partial Page Ownership

enforces memory limits

<cellbgcolor="green">

<cellbgcolor="green">

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01