Re: An alternative way of populating /proc

Peter Stuge (stuge@cdy.org)
Sat, 15 Apr 2000 02:08:35 +0200 (CEST)


On Fri, 14 Apr 2000 almesber@lrc.di.epfl.ch wrote:

>I see five possible approaches:
[..]
> - locking: a request can acquire a lock while working on the variables
[..]
>to avoid the most obvious DoS problems, locking would probably need a way
>to "chain" reads, such that the kernel never has to wait for user space
>to release a lock.

* Locked callback from kernel
* read() that stores all requested data in one call, thus lockable

The latter would of course demand enough storage allocated.

Dunno, right now I'm really REALLY tired, I probably shouldn't have posted
this at all. X-)

//Peter

--
irc: CareBear\    tel: +46-40-914420
irl: Peter Stuge  gsm: +46-705-783805

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/