Re: page cache management by sequencing pages in LRU list

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

 



>Why is an estimate based on file (index, offset) pairs not
>accurate enough for you?
 
The (mapping,index) gives the location of page on RAM. but I want its physical address.
 
What about using bmap( ) pointed by address_space_operations *a_ops  in address_space object?
It gives the Logical Block Number(LBN) of the block..but now how can be derive physical address from this LBN?
 
-Adheer
 
On 9/19/06, Rik van Riel <riel@xxxxxxxxxxx> wrote:
adheer chandravanshi wrote:

> Can we use some reverse mapping kind of mechanism that is used when the
> pages are reclaimed?

You could, but that would increase the amount of metadata
the kernel needs, reducing the amount of memory available
for actually caching data.

Why is an estimate based on file (index, offset) pairs not
accurate enough for you?

--
What is important?  What you want to be true, or what is true?


[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