>Why is an estimate based on file (index, offset) pairs not
>accurate enough for you?
>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?
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?