Re: High Resolution Timer DOS

From: William Heimbigner
Date: Sat Apr 28 2007 - 18:45:59 EST

On Sat, 28 Apr 2007, Lee Revell wrote:

On 4/28/07, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

Well, it is not really a DoS. The rescheduling of the process is limited
by the scheduler and the available CPU time (depending on the number of
runnable tasks in the system).

Shouldn't an unprivileged process be rate limited somehow to avoid
flooding the machine with interrupts? We restrict nonroot users from
setting the RTC interrupt rate higher than 64Hz for a similar reason
(granted, this limit dates back to the 486 days and should probably be
increased to 1024 Hz).

Isn't that what /etc/security/limits.conf is for?
Just limit the CPU usage.

Root and SCHED_FIFO tasks could be exempt from rate limiting, to avoid
the need to introduce a new rlimit which would take years for
userspace to catch up to.


William Heimbigner
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at