Subject: Re: wsevent cleanup
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 02/06/2006 14:12:52
jmmv84@gmail.com said:
> looking at wscons' code I noticed that it duplicates a "lot" of code
> to manipulate wsevent queues

The idea was to make the buffer structure public and exported to
userland so that the event buffer can be mmap()ed, allowing
access w/o context switches. More or less what the DEC "ws" interface
does afaict. I doubt that X on a 25MHz MIPS box can be sufficiently
responsive without that kind of tricks.

Some cleanup might be ok, but it would be worthwhile to keep that
option.

best regards
Matthias