mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 04:43:16 +01:00
New UTCB implementation almost working.
- KIP's pointer to UTCB seems to work with existing l4lib ipc functions. - Works up to clone() - In clone we mmap() the same UTCB on each new thread - excessive. - Generally during page fault handling, cloned threads may fault on the same page multiple times even though a single handling would be enough for all of them. Need to detect and handle this.
This commit is contained in:
@@ -46,5 +46,5 @@ context switch, a private page is allocated and mapped by the pager, but also
|
||||
the UTCB pointer is updated to point at an offset in this page. As an example,
|
||||
if a UTCB is sized 1/4th of a page, a single page is used by 4 UTCBs. This way,
|
||||
the pager needs to manage 4 entries per-private page, utcbs utilise page memory
|
||||
better, and there is no need for a fixed table of utcbs per address space.
|
||||
fully, and there is no need for a fixed table of utcbs per address space.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user