mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lee Revell" <rlrevell@joe-job.com>
To: tglx@linutronix.de
Cc: "matthieu castet" <castet.matthieu@free.fr>,
	"Linux Kernel list" <linux-kernel@vger.kernel.org>,
	"Ingo Molnar" <mingo@elte.hu>,
	"Andrew Morton" <akpm@linux-foundation.org>
Subject: Re: High Resolution Timer DOS
Date: Sat, 28 Apr 2007 18:37:35 -0400	[thread overview]
Message-ID: <75b66ecd0704281537s54134967ybc3ddef0b87b6bf5@mail.gmail.com> (raw)
In-Reply-To: <1177798389.7646.320.camel@localhost.localdomain>

On 4/28/07, Thomas Gleixner <tglx@linutronix.de> 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).

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.

Lee

  reply	other threads:[~2007-04-28 22:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 21:53 matthieu castet
2007-04-28 22:13 ` Thomas Gleixner
2007-04-28 22:37   ` Lee Revell [this message]
2007-04-28 22:45     ` William Heimbigner
2007-04-29  7:17     ` Ingo Molnar
2007-04-29 16:08       ` matthieu castet
2007-04-29 16:42         ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75b66ecd0704281537s54134967ybc3ddef0b87b6bf5@mail.gmail.com \
    --to=rlrevell@joe-job.com \
    --cc=akpm@linux-foundation.org \
    --cc=castet.matthieu@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®