The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2006
Registered User
 

Join Date: Jun 2006
Posts: 3
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-26-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0