lkml.org 
[lkml]   [1997]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfuture kernel efforts

There will be more successful kernel development in the
future if adequate documentation exists. Specifically,
the best time to document the dcache/inode stuff is now.

Most important is the view of a filesystem developer.
When I did a bit of filesystem hacking, I had no idea
what race conditions I might be creating. I was not
even sure what functions could block, and under what
conditions that would be safe.

There are a limited number of kernel experts, and their
time is limited. I think that a bit of time spent with
documentation will save many hours (weeks?) of time
spent fixing buggy code the rest of us could write.

Sufficient documentation would let a new kernel hacker
write a new filesystem completely from scratch, without
reference to potentially unrelated filesystems.

(specific question: how can a file driver in /proc know
what symlink (if any) was used to reach the file?)


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.033 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site