Re: [dev] smdev (suckless mdev)

From: sin <sin_AT_2f30.org>
Date: Tue, 20 Aug 2013 20:16:59 +0300

On Tue, Aug 20, 2013 at 06:46:45PM +0200, Christoph Lohmann wrote:
> Greetings.
>
> On Tue, 20 Aug 2013 18:46:45 +0200 sin <sin_AT_2f30.org> wrote:
> > Hi all,
> >
> > I've hacked together smdev[1]. It is basically mdev with
> > a config.def.h.
> >
> > It does not currently support all of mdev's features.
> >
> > What do you guys think?
>
> If it supports all the execution properties of mdev it would be perfect
> for me to import it into nldev and make an nldevd, which would be the
> true replacement for udevd.

I'll finish up on that and I will ping you once I've got something.

> Try to cache the result of regcomp(). This will speed up things in large
> trees. For being a competitor. When designing any replacement for udevd,
> keep in mind that due to that permission misdesign in Linux your daemon
> has to manage some 10 thousand devices in a huge server in under a
> minute. This can’t be done linearly and is why udevd keeps a queue
> of worker processes.

Thanks for the ideas. Will try to implement these.
Received on Tue Aug 20 2013 - 19:16:59 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 20 2013 - 19:24:06 CEST