diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-15 18:25:59 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-15 18:25:59 +0200 |
commit | aac4aaf42372f61c78061711916c81a9d5bcb42d (patch) | |
tree | 167fb3e426cc7757a43da2c7d04fc2baa293c5de /procfs/TODO | |
parent | 65ebcc40e55dfb3ee776383891f8a6b15b176d27 (diff) |
Move the procfs translator to its own subdirectory 'procfs'.
This is the last commit to this repository. Development of the procfs
translator will continue in the main Hurd repository.
* procfs/Makefile: Replace the standalone Makefile with the one from
the Debian packaging repository.
Diffstat (limited to 'procfs/TODO')
-rw-r--r-- | procfs/TODO | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/procfs/TODO b/procfs/TODO new file mode 100644 index 0000000..952d67b --- /dev/null +++ b/procfs/TODO @@ -0,0 +1,24 @@ +Known bugs to be fixed +---------------------- + +* The non-owned processes sometimes show up with INT_MAX as their owner, + instead of opt_anon_uid. This is likely to be a libps problem. + +Improvements and new features +----------------------------- + +* There is a lot of dynamic memory allocation going on and it comes with a + cost in performance. We could try to limit such allocation, as long as it + keeps the inner interface simple and preserves the read/readdir semantics + (performance is probably not critical for a proc filesystem.) + One way would be to add an (optional) "needed_length" field to + procfs_node_ops, and arrange to pass a sufficent buffer in (*contents, + *contents_len) when get_contents is called. Then the user-provided buffer + might be used directly under some circumstances. + +* Add thread directories as [pid]/task/[n]. This shouldn't be too hard if we + use "process" nodes for threads, and provide an "exists" hook for the "task" + entry itself so that it's disabled in thread nodes. It might prove necessary + to have "optional" libps flags for some content generators, though, since + some of them might be missing for threads. + |