| 1 |
Known bugs to be fixed |
| 2 |
---------------------- |
| 3 |
|
| 4 |
* The non-owned processes sometimes show up with INT_MAX as their owner, |
| 5 |
instead of opt_anon_uid. This is likely to be a libps problem. |
| 6 |
|
| 7 |
Improvements and new features |
| 8 |
----------------------------- |
| 9 |
|
| 10 |
* There is a lot of dynamic memory allocation going on and it comes with a |
| 11 |
cost in performance. We could try to limit such allocation, as long as it |
| 12 |
keeps the inner interface simple and preserves the read/readdir semantics |
| 13 |
(performance is probably not critical for a proc filesystem.) |
| 14 |
One way would be to add an (optional) "needed_length" field to |
| 15 |
procfs_node_ops, and arrange to pass a sufficient buffer in (*contents, |
| 16 |
*contents_len) when get_contents is called. Then the user-provided buffer |
| 17 |
might be used directly under some circumstances. |
| 18 |
|
| 19 |
* Add thread directories as [pid]/task/[n]. This shouldn't be too hard if we |
| 20 |
use "process" nodes for threads, and provide an "exists" hook for the "task" |
| 21 |
entry itself so that it's disabled in thread nodes. It might prove necessary |
| 22 |
to have "optional" libps flags for some content generators, though, since |
| 23 |
some of them might be missing for threads. |
| 24 |
|