[brainix commit] r205 - wiki

2 views
Skip to first unread message

codesite...@google.com

unread,
Sep 28, 2007, 4:58:33 PM9/28/07
to bra...@googlegroups.com
Author: james.d.taylor
Date: Fri Sep 28 13:57:48 2007
New Revision: 205

Modified:
wiki/ProcessDataStructures.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/ProcessDataStructures.wiki
==============================================================================
--- wiki/ProcessDataStructures.wiki (original)
+++ wiki/ProcessDataStructures.wiki Fri Sep 28 13:57:48 2007
@@ -70,4 +70,6 @@

= VFS issue =

-The only issue I see is that the combined data structure "cuts" through any future VFS layer. mode_t and the filedescriptors are fine, but having to #include "fs/inode.h" might cause a headache. Would it be feasible to have "root_dir" and "work_dir" as open files? Then in proc_t, you could simply reference them as int fd's instead of inode_t. I'm not sure what kind of trouble that might cause wrt performance and file-locking issues... plus it would allow for having any type of VFS object for the root and cwd files. I don't see why the root and cwd should be limited to just directories. (jdt)
\ No newline at end of file
+The only issue I see is that the combined data structure "cuts" through any future VFS layer. mode_t and the filedescriptors are fine, but having to #include "fs/inode.h" might cause a headache. Would it be feasible to have "root_dir" and "work_dir" as open files? Then in proc_t, you could simply reference them as int fd's instead of inode_t. I'm not sure what kind of trouble that might cause wrt performance and file-locking issues... plus it would allow for having any type of VFS object for the root and cwd files. I don't see why the root and cwd should be limited to just directories. (jdt)
+
+Hrm.. seems src/kernel/process.c includes kernel.h, which includes freaking _everything_. (jdt)
\ No newline at end of file

Reply all
Reply to author
Forward
0 new messages