Re: DRM: possible DoS for vblank signals

Michel Dänzer <[email protected]> 20 Dec 2002 03:03:38 +0100
Newsgroups gmane.comp.xfree86.expert,gmane.comp.video.dri.devel
Organization Debian, XFree86
Message-ID <1040349818.1978.76.camel@thor>
On Don, 2002-12-19 at 14:39, Michel Dänzer wrote:
> Currently, an arbitrary number of signals can be scheduled, potentially
> exhausting kernel memory and/or causing lots of useless list traversal
> in the interrupt handler. I guess the number of pending signals needs to
> be limited, or is there a better way to handle this?

http://penguinppc.org/~daenzer/DRI/drm-vblank-signal-nodos.diff limits
the number of pending signals to 100 and only schedules a given signal
for a given sequence number to a given process once.

Feedback appreciated.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast