Re: New syscall (rough draft), swap_out_pid()

Balaji Srinivasan (bsriniva@fore.com)
Tue, 17 Mar 1998 08:52:25 -0500 (EST)


--------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