Re: High Resolution Timer DOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Lee Revell <[email protected]> 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).

No. An interrupt in this case is really just 'CPU time used up', and an 
unprivileged process can take up as much CPU time as the scheduler 
allows. So it's _not_ a DoS, and neither is any other unprivileged 
infinit loop (or high-rate context-switching task) a DoS.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux