Tuesday, May 8, 2012 12:29 PM
Subject: Re: Many questions, mostly about mach-defpager
Thomas Thomas, le Mon 30 Apr 2012 16:30:00 -0700, a écrit :
> Nextly, it uses cthread_data to store a pointer to a thread-specific buffer
> that it uses in paging. As I see it: all threads are created when
Thomas Thomas, le Mon 30 Apr 2012 16:30:00 -0700, a écrit :
> Nextly, it uses cthread_data to store a pointer to a thread-specific buffer
> that it uses in paging. As I see it: all threads are created when the pager
> starts up, and no threads are created afterward. Thus, I could achieve the
> same
A wired thread (vm_wire) has special vm rules inside the kernel. It's got
nothing to do with what you might expect (tying a cthread to a kernel
thread).
Thomas
On Mon, Apr 30, 2012 at 4:30 PM, Thomas Thomas wrote:
> So, mach-defpager "wires" all of its threads. What exactly does that mean?
> I
So, mach-defpager "wires" all of its threads. What exactly does that mean?
I think the headers are kind-of sketchy. They do say that in GNU all threads
are wired, will this apply to pthread threads, too?
Nextly, it uses cthread_data to store a pointer to a thread-specific buffer
that it uses in pa