[lkml]   [2000]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Weightless process class

> A process can't grab a kernel lock and then switch
> back to user mode, can it? (if it could, I can
> imagine some nasty DoS attacks...)
> Problem is, when we decide to schedule in a process
> or not, we know the process was last stuck in
> schedule() ... in kernel mode ;(
> I'd love to be proven wrong though ... this would be
> some extremely useful functionality ;)

There was solution to it: bumping priority to normal when process is
in kernel. Hard part was how to do it with 0 impact on normal kernel
operation, and even that was solved (as you are testing for ptrace,
anyway, you can make it test for extremely-low-prio in same assembly
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.088 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site