Light Weight Kernel Threads

Light Weight Kernel Threads

Light Weight Kernel Threads or "LWKT" is a term from computer science in general and in DragonFlyBSD in particular. LWKTs differ from normal kernel threads in that they can preempt normal kernel threads. According to Matt Dillon, DragonFlyBSD creator:

"The LWKT scheduler is responsible for actually running a thread. It uses a fixed priority scheme but you have to keep in mind that the fixed priorities are differentiating major subsystems, not user processes. "For example, hardware interrupt threads have the highest priority, followed by software interrupts, kernel-only threads, then finally user threads. A user thread either runs at user-kernel priority (when it is actually running in the kernel, e.g. running a syscall on behalf of userland), or a user thread runs at user priority vimAL.

"DragonFly does preempt... it just does it very carefully and only under particular circumstances. An LWKT interrupt thread can preempt most other threads, for example. This mimics what FreeBSD-4.x already did with its spl/run-interrupt-in-context-of-current-process mechanism. What DragonFly does *NOT* do is allow a non-interrupt kernel thread to preempt another non-interrupt kernel thread." [http://www.shiningsilence.com/mailarchive/kernel/2003-November/1719.html]

ee also

*light-weight process
*Thread (computer science)

References

* [http://leaf.dragonflybsd.org/mailarchive/kernel/2003-11/msg00321.html Matt Dillon's post about the LWKT scheduler]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Light-weight process — In computer operating systems, a light weight process (LWP) is a means of achieving multitasking. In contrast to a regular (full blown) process, an LWP shares all (or most of) its logical address space and system resources with other process(es); …   Wikipedia

  • Green threads — In computer programming, Green threads are threads that are scheduled by a Virtual Machine (VM) instead of natively by the underlying operating system. Green threads emulate multithreaded environments without relying on any native OS capabilities …   Wikipedia

  • DragonFly BSD — DragonFly redirects here. For other uses, see Dragonfly (disambiguation). DragonFly Company / developer Matthew Dillon OS family Unix like …   Wikipedia

  • Thread (computer science) — This article is about the concurrency concept. For the multithreading in hardware, see Multithreading (computer architecture). For the form of code consisting entirely of subroutine calls, see Threaded code. For other uses, see Thread… …   Wikipedia

  • Поток выполнения — Для термина «Поток» см. другие значения. Процесс с двумя потоками выполнения на одном процессоре Поток выполнения (анг …   Википедия

  • DragonFly BSD — Pour les articles homonymes, voir Dragonfly. DragonFly BSD Famille BSD Type de noyau Hybride État du projet en développement Plates formes …   Wikipédia en Français

  • DragonflyBSD — DragonFly BSD Pour les articles homonymes, voir Dragonfly. DragonFly BSD Famille BSD Type de noyau Hybride …   Wikipédia en Français

  • DragonFly BSD — У этого термина существуют и другие значения, см. Dragonfly …   Википедия

  • Asynchronous I/O — Asynchronous I/O, or non blocking I/O, is a form of input/output processing that permits other processing to continue before the transmission has finished. Input and output (I/O) operations on a computer can be extremely slow compared to the… …   Wikipedia

  • Process (computing) — In computing, a process is an instance of a computer program that is being executed. It contains the program code and its current activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”