lkml.org 
[lkml]   [1996]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: realtime idea
On Sun, 27 Oct 1996, Egor Egorov wrote:

> I just read some VMS documentation, and I had one pretty idea. Why not to
> get some real-time code into linux kernel ? 1st, the do-not-swap option for
> process start. For example:
>
>
> [user@place ~]> noswap /usr/local/bin/superprog
>
> And this process never will be swapped.

check out mlock().

> 2nd, enter some code in sched.c to give processor to one process every time
> it needs it (oh, my english). For example:
>
> [user@place ~]> startprior /usr/local/bin/superprog

check out sched_setscheduler().

> What do you think ?

all of this exists already :)

-- mingo



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