RE: Assigning memory use priority to applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--> 
--> In the 2.4.9 kernel series is it possible to assign a "Memory Use
--> Priority" that will make the memory subsystem prioritize keeping a
--> program's data space in memory rather than being swapped, similar to
--> the
--> "nice" program that adjusts a program's scheduling priority?
--> 
--> Regards,
--> 
--> Michael Martinez
--> ISTM/CSREES
--> United States Department of Agriculture
--> ---
--> 
--> --
--> Kernelnewbies: Help each other learn about the Linux kernel.
--> Archive:       http://mail.nl.linux.org/kernelnewbies/
--> FAQ:           http://kernelnewbies.org/faq/
--> 
--> 
--> 
--> sys_mlock() and sys_mlockall()  will lock a region so that it will
--> not be swapped out.
--> 
--> 
--> 

Is it not possible to assign such a priority without recoding the
application to make use of these system calls?

M. Martinez

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux