Subject: Re:
To: Simon Burge <>
From: Matthias Drochner <>
List: tech-kern
Date: 06/12/2003 16:40:30 said:
> How about we move them to <sys/tty.h> and remove dkstat.h then? The
> variables are declared and only used in kern/tty.c (except for a
> sysctl handler). 

And in some serial line disciplines line ppp and slip...

Anyway, tty.h looks like a good place for this.
But, seeing these global 64-bit counters incremented here and
there, some MP-safety bell rings.
How about putting the counters into the individual tty structs,
where they are protected by a lock?
The status querying sysctl / kvm grovelers would have to add
them up then.

best regards