summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://etenil.myopenid.com/ <http://etenil.myopenid.com/@web>2011-02-15 19:21:14 +0000
committerGNU Hurd web pages engine <web-hurd@gnu.org>2011-02-15 19:21:14 +0000
commitb4b7e692b1e6395698814ad3bb68f51706307120 (patch)
treee75489572350a49f98f0085861d474fe8edd05f3
parentd19b0b9c8a0f5fb97e310bf3aab21a42c49ec30c (diff)
-rw-r--r--user/Etenil.mdwn18
1 files changed, 16 insertions, 2 deletions
diff --git a/user/Etenil.mdwn b/user/Etenil.mdwn
index 0d78b042..9eff7ea7 100644
--- a/user/Etenil.mdwn
+++ b/user/Etenil.mdwn
@@ -8,9 +8,23 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
+[[!toc]]
## Current task
-Write a pagein (prefetching) mechanism in Mach.
+Write a clusterized pagein (prefetching) mechanism in Mach.
+
+## General information on system architecture
+
+In order to implement the pagein properly, it was necessary for me to get a general idea of the I/O path that data follows in the Hurd/Mach. To accomplish this, I've investigated top-down from the [[ext2fs]] translator to Mach. This section contains the main nodes that data passes through.
+
+This is based on my understanding of the system and is probably imprecise. Refer to the manuals of both Hurd and Mach for more detailed information.
+
+### Pagers
+Pagers are implemented in libpager and provide abstracted access to Mach's [[VM]]. A pager is a struct that contains callback function references. These are used to actually access the storage. In the case of FS translators, like ext2fs, the pager uses libstore to acess the underlying hardware.
+
+### Libstore
+Libstore provides abstracted access to Mach's storage access.
+
+I am currently looking at the way the stores call Mach, especially for memory allocation. My intuition is that memory is allocated in Mach when the function *store_create()*. I am currently investigating this to see where in Mach would the prefetcher fit.
--- More to come.