[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: procfs - Design Issue

From: Thomas Bushnell BSG
Subject: Re: procfs - Design Issue
Date: Tue, 19 Aug 2008 23:34:25 -0700

On Tue, 2008-06-17 at 00:18 +0100, Samuel Thibault wrote:
> Hello,
> Madhusudan C.S, le Tue 17 Jun 2008 04:12:42 +0530, a écrit :
> > 1.   Is it better to free all those nodes as soon as they are displayed and
> > create them whenever they are required?
> Just do that. No need to cache anything. Just let the reference counting
> free the node when the client doesn't need it any more. A lot more
> simple and should be just enough.

And return a sane error in the case a user tries to operate on a node
which for a process which has exited.  "Sane error" of course means
"more or less whatever BSD and/or Linux do".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]