![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Carreer:Networking Programming in Unix (C programming Language) | vibhory2j | UNIX for Dummies Questions & Answers | 5 | 09-05-2008 04:57 PM |
| How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 | 0ktalmagik | Filesystems, Disks and Memory | 2 | 07-21-2008 04:38 AM |
| Seven from IBM: db40, memory management, scripting, speed wizards... - LinuxDevices.c | iBot | UNIX and Linux RSS News | 0 | 07-07-2007 12:40 AM |
| virtual memory management, swapping paging | gfhgfnhhn | UNIX for Advanced & Expert Users | 2 | 07-26-2006 11:02 AM |
| unix memory management | gfhgfnhhn | UNIX for Advanced & Expert Users | 1 | 04-03-2006 02:19 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Programming for Memory Management
Hi I am relatively new to programming on UNIX platform. I was wondering if there is any system call so that a process can access systems page table or swap pages from main memory by specifying the page number. I am trying to implement various page replacement algorithms like LRU, OPT, FIFO etc. Please let me know if you think of any other way for implementing the same other than accessing actual page table.
-Jay |
| Forum Sponsor | ||
|
|
|
|||
|
UNIX system calls do not provide access to that way.
Each different kernel has internal modules that can do these things. If you are in Linux, for example, you can download the kernel, and modify it if you want. You can also create user mode access to the syscalls in question. Linux has the syscall interface - http://www.digilife.be/quickreferenc...0Reference.pdf |
|||
| Google The UNIX and Linux Forums |