FOR FREE CONTENT

Number of information at Page Entry 

 

As we discussed earlier that page entry not only contains frame numbers, it also contains some important information.

 

Frame number:

As we know frame number is the most important information in page entry and by which we can get actual address memory of target data.

 

Reference Bit:

Reference bit is important at the time of page replacement algorithm. It is used to identify how many times this page is referred at the time of execution that helps to know when the last time this page is referred.

 

Cache Disabled: 

To make mapping fast some pages are kept at cache which is called write through cache. But sometimes we are not willing to access cache; we directly access RAM to get the data, especially when we are currently working with fresh data. In this case, we disabled the cache

 

Dirty Bit or Modified Bit:

This information shows that a certain page is modified or not at the time of execution. Like dirty bit 0 means page is not modified and dirty bit 1 means page is modified. 

 

This information requires at the time of page replacement when the page will replace then modified information should also keep in secondary memory.

 

This bit also helps to protect memory from invalid memory addresses. When this bit is set to valid, the associated page is in the process’s logical address space and is thus a legal (or valid) page. When the bit is set to invalid, the page is not in the process’s logical address space. Illegal addresses are trapped by the use of the valid–invalid bit.

 

Valid / Invalid bit:

This bit is also called a present or absent bit. This information identified a certain page is currently present in the main memory or not.

 

Valid (1): Page is present in main memory and Invalid (0):  Page is not present in main memory.

This concept is coming when we load the pages in the main memory as per requirement, then this bit is required to check.

 

Permission Bit:

This information is required for the protection and security of pages by access authorization like read, write, or execution permission.