login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-tech
»
2010
»
October
»
14
Re: yield in long kernel loops
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Ted Unangst
Subject:
Re: yield in long kernel loops
Date: Thursday, October 14, 2010 - 8:52 am
On Thu, Oct 14, 2010 at 11:29 AM, Mike Belopuhov <mkb@crypt.org.ru> wrote:
quoted text
> On Thu, Oct 14, 2010 at 2:08 AM, Ted Unangst <ted.unangst@gmail.com> wrote: >> So it's not a good idea to perform long lasting operations in the kernel. >> The scheduler doesn't deal well with it and nobody else gets to run. >> >> One of those long loops is loading a large table into pf. If you're >> lucky, you'll run out of memory and pool will finally sleep. >> > > hmm, but root can do other evil things.. or you're getting prepared for > the future, when we'll have permissions for the tables? :-)
Even root is supposed to be subject to the scheduler. Sure, you can renice -20 and eat all the cpu, but a process at normal priority levels should not.
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
yield in long kernel loops
, Ted Unangst
, (Wed Oct 13, 5:08 pm)
Re: yield in long kernel loops
, Thordur Bjornsson
, (Thu Oct 14, 8:16 am)
Re: yield in long kernel loops
, Mike Belopuhov
, (Thu Oct 14, 8:29 am)
Re: yield in long kernel loops
, Ted Unangst
, (Thu Oct 14, 8:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
Trent Waddington
Re: Gaming Interface
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Adrian McMenamin
time_after - what on earth???
Ingo Molnar
Re: [PATCH] x86: Reduce ifdef sections in fault.c
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
markup_oops.pl: fix for faulting instruction in the first line of a range
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
i7core_edac: Probe on Xeons eariler
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate