tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Patch: minor optimization to exec
http://www.netbsd.org/~ad/cleanout/exec.diff
- We already cache a good chunk at the start of the file (usually around
1k), so look in the cached copy before issuing an expensive vn_rdwr().
- Don't unlock vnodes just to relock them again with the next statement.
Add exec_read_locked() to assist with this.
Comments?
Andrew
Home |
Main Index |
Thread Index |
Old Index