• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Swapping Kernel Memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swapping Kernel Memory?


  • Subject: Re: Swapping Kernel Memory?
  • From: Jim Magee <email@hidden>
  • Date: Fri, 8 Feb 2008 11:17:01 -0500


On Feb 7, 2008, at 4:01 PM, Terry Lambert wrote:

On Feb 7, 2008, at 11:00 AM, Duane Murphy wrote:
Do I have to do anything special to prevent memory allocated by an IOKit
kext from getting swapped out?


I have some memory that I would like to never be paged out to VM. Do I
have to do anything special to make that happen? Or is that memory
already prevented from swapping?

Kernel memory is wired. That's why you should use as little as possible, since when you allocate kernel memory, you are eating a chunk of the kernel virtual address space, which is a scarce resource.

Actually, it depends what API you used to allocate the memory. Most in-kernel allocations are wired automatically, but not all.


--Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Swapping Kernel Memory? (From: "Duane Murphy" <email@hidden>)
 >Re: Swapping Kernel Memory? (From: Terry Lambert <email@hidden>)

  • Prev by Date: WARNING: The module QTSSAccessModule is not a compatible QTSS API module.
  • Next by Date: Re: WARNING: The module QTSSAccessModule is not a compatible QTSS API module.
  • Previous by thread: Re: Swapping Kernel Memory?
  • Next by thread: Shared Memory and login sessions
  • Index(es):
    • Date
    • Thread