Re: dynamic_pager and context switching
Re: dynamic_pager and context switching
- Subject: Re: dynamic_pager and context switching
- From: Mike Smith <email@hidden>
- Date: Mon, 9 Feb 2004 09:53:17 -0800
dynamic_pager just creates/deletes the swapfiles. It's not involved in
the I/O path, nor does it actually compact swap.
= Mike
On Feb 8, 2004, at 3:44 PM, Brian Tabone wrote:
I was digging through the darwin kernel lists, and did some cursory
searches on developer.apple.com, but I didn't find the answer. My
question is , does the kernel turn to dynamic_pager every time it
swaps pages in and out, or does dynamic_pager simply manage the swap
file(s) and grow/shrink them based on usage by the kernel? The reason
I ask is that it would seem a large performance penalty to have to
context switch out to a user-space daemon for every page in/out
request. Not only would you be contesting with page swaps, but you
would further be slowed down by expensive context switching from
kernel to user space.
Thanks in advance,
-Brian T
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.