Computer program product and method for partial paging and...

Electrical computers and digital processing systems: memory – Storage accessing and control – Control technique

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S206000, C711S208000

Reexamination Certificate

active

06581142

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates generally to the data processing field, and more particularly, relates to a method for partial paging and eviction of microprocessor instructions in an embedded computer.
DESCRIPTION OF THE RELATED ART
In a computer system where paging of microprocessor instructions is necessary, the computer system performance is limited in instances where processor utilization is required for data movement due to paging of microprocessor instructions.
FIG. 2
illustrates conventional sequential steps for moving a virtual page into a physical page or conventional virtual to physical address translation.
FIG. 3
illustrates a conventional page table and a page table, a page table entry group and a page table entry relationship
300
. A page table
302
is made up of a number of page table entry groups
304
; this number is normally dependent on the implementation of the processor's memory management unit. Each page table entry group
304
is made up of a number of page table entries
306
; this is normally a fixed number, such as illustrated by page table entry group
308
. Each virtual address maps to a specific page table entry group or groups
304
and can occupy any of the page table entries
306
within that group or groups
304
. Each page table entry
306
also has a mapping to a specific physical page.
Referring to
FIG. 2
, moving a virtual page into a physical page is triggered by an instruction page fault in the processor as indicated in a block
200
. Then the processor performs a hashing algorithm on the virtual address to determine or identify to which page table entry group this virtual address belongs as indicated in a block
202
. The identified page table entry group is searched for a free or open entry which does not currently map a virtual page to a physical page as indicated in a block
204
. If a free page table entry is not found at decision block
206
, then a page table entry must be selected in which the data for the virtual page will be evicted from the physical page as indicated in a block
208
. If a free page table entry is found at decision block
206
or after a page is selected for eviction at block
208
, then the data for the entire new virtual page is moved into the physical page in the page table entry as indicated in a block
210
. Then the virtual page is mapped to the physical page within the processor as indicated in a block
212
.
A need exists for a mechanism for partial paging and eviction of microprocessor instructions in an embedded computer. As used in the following description and claims, the terms partial and partial page mean a unit of memory that is a fraction of a page.
SUMMARY OF THE INVENTION
A principal object of the present invention is to provide a method and computer program product for partial paging and eviction of microprocessor instructions in an embedded computer. Other important objects of the present invention are to provide such method and computer program product for partial paging and eviction of microprocessor instructions in an embedded computer substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
In brief, a method and computer program product are provided for partial paging and eviction of microprocessor instructions. Responsive to an instruction page fault, a predefined algorithm is applied to a virtual page address for the identified instruction page fault to identify a page table entry group within a volatile memory. Next searching an identified page table entry group for an open page table entry is performed. Responsive to an identified open page table entry, a partial page is copied from a non-volatile memory to a corresponding partial page within the volatile memory. Responsive to failing to identify an open page table entry, a virtual page residing within the volatile memory is selected for eviction.
In accordance with features of the invention, a virtual page residing within the volatile memory is selected for eviction based upon at least one of determining which virtual page of all virtual pages residing in the volatile memory and within the identified page table entry group that has been evicted a fewest number of times; determining which virtual page of all virtual pages residing in the volatile memory and within the identified page table entry group that has fewest partial pages resident and determining which virtual page of all virtual pages residing in the volatile memory and within the identified page table entry group that has been resident longest.


REFERENCES:
patent: 3979726 (1976-09-01), Lange et al.
patent: 5146573 (1992-09-01), Sato et al.
patent: 5418940 (1995-05-01), Mohan
patent: 5598553 (1997-01-01), Richter et al.
patent: 6016535 (2000-01-01), Krantz et al.
patent: 6035377 (2000-03-01), James et al.
patent: 6128711 (2000-10-01), Duncan et al.
patent: 6202134 (2001-03-01), Shirai

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Computer program product and method for partial paging and... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Computer program product and method for partial paging and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Computer program product and method for partial paging and... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3163147

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.