:Hello,
:
:kern/lwkt_thread.c can apparently be compiled both as kernel and user
:land code (cf #ifdef _KERNEL in file). What's the purpose of this?
:Was it just initially developed user-side then ported into the kernel
:or is there something else?
:
:Thanks,
:Nicolas
Originally I tested the core mechanics in userland, and had an idea
to use it for the userland thread scheduler in a NxM configuration
(N kernel threads x M userland threads per kernel thread), using
async system calls.
That never worked out... it was just too complex and implementing async
system calls turned out to be basically impossible without rewriting
the entire kernel. So the module is no longer intended to be compiled
for userland.
-Matt
Matthew Dillon
<dillon@backplane.com>
| Alexandre Oliva | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel |
| Thomas Meyer | Re: [PATCH] clockevents: Fix suspend/resume to disk hangs |
| S.Çağlar | Rescheduling interrupts |
git: | |
| Chris Ortman | [FEATURE REQUEST] git-svn format-patch |
| Sverre Rabbelier | Git vs Monotone |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Johannes Schindelin | Re: VCS comparison table |
| Alexey Dobriyan | [PATCH 01/53] xfrm: initialise xfrm_policy_gc_work statically |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Jarek Poplawski | Re: Data corruption issue with splice() on 2.6.27.10 |
| David Miller | [GIT]: Networking |
| Nick Holland | Re: keyboard lockup, KVM, dual-boot |
| Richard Stallman | Real men don't attack straw men |
| Anders Langworthy | Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU |
| Matthew Dempsky | hoststated/relayd and Linux's tcp_tw_recycle option |
