lkml.org 
[lkml]   [1998]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: New syscall (rough draft), swap_out_pid()
Date
--------George wrote----------
>
>
> Basically I got tired of seeing processes hanging around in memory when I
> knew they weren't going to use it. This will swap out portions of a
> program and so far hasn't bombed on my computer. It probably needs a
> suser() check but this is preliminary anyway just to see what people think.
> It works in chunks so it has to be called repeatedly at the moment. I
> don't know if this will swap out too much than swap space, haven't tested
> that part. I do know, however, that if you try to swap out a process that
> is running, it won't kill the process because it'll simply be swapped back
> in when it needs something.

I dont think this would work as you expect it to...as swap_out_process
does not swap_out the whole process, but just one page...am I wrong here?
balaji

--------------------------------------------------------------------
Balaji Srinivasan
Email: sbalaji@fore.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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