[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Many questions, mostly about mach-defpager
From: |
Thomas Thomas |
Subject: |
Many questions, mostly about mach-defpager |
Date: |
Mon, 30 Apr 2012 16:30:00 -0700 (PDT) |
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 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 result by using a hash to map between the thread handles and the
buffer pointers. Would this be a good idea/efficient? Mainly, I just want
your thoughts.
I'll leave it at this...
Thomas D
- Many questions, mostly about mach-defpager,
Thomas Thomas <=