Hello,
As far as I can understand, a "file system" is never swapped. What are
swapped are only processes, or part of them. By processes here I mean
the memory occupied by processes. Since a file system is not a
process, the kernel will never consider swapping the /proc file
system.
                                                                                
Vaibhav Kulkarni


On Sat, 18 Sep 2004 17:24:01 -0700 (PDT), Harshal Vaidya
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Is there any chance that the memory ocupied by the
> /proc filesystem can be swapped out by the kernel?
> 
> A little thought on the above question drives me to
> another question.
> 
> Is the memory occupied by /proc a part of kernel
> memory ?
> 
> Let me put in a scenario which led me to this
> question.
> 
> Assume you've started a process which has mammoth
> memory requirements. Since this process needs memory
> the kernel will swap out all the other processes one
> by one out of the memory. Now, in extreme conditions,
> if the process still needs more memory, will the
> kernel swap out /proc itself?
> 
> According to my thinking it can, but since /proc is
> such an important part of the system it raised some
> doubts in my mind.
> 
> By the means of this question I just wanted to know
> the real answer.
> 
> Thanks and Regards,
> Harshal Vaidya.
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
> List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
> Send 'help' to [EMAIL PROTECTED] for mailing instructions.
>
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to