tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to identify specific wait-state for a "DE" process?
Date: Wed, 6 Jan 2016 09:22:44 -0800
From: Brian Buhrow <buhrow%nfbcal.org@localhost>
hello. Is there a particular reason file descriptors are closed in
ascending order? Traditionally, file descriptors 2, 1 and 0 are always in
use and it seems like it might be a good idea to have those be the last to
get closed. I've seen some applications that close all their descriptors
in descending order. I thought that was odd, but I think Paul just came
up with a good reason to do such a thing.
This only fixes the problem for certain orderings of file descriptors.
I think the best way to fix this properly will be to just modify
sys_exit to call a new filemon_prepare_exit routine that pre-closes
any filemon-owned references to files, so that filemon_close itself
will not hang.
Home |
Main Index |
Thread Index |
Old Index