swap cache

Muthu (MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com)
14 Dec 98 17:48:42 +0330


Hi,

I have a basic doubt about swap cache mentioned in "kernel hackers guide".
It mentions that swap cache usage it to avoid one more writing if it is
already present in swap file.

Can't this information derived from "dirty" bit of PTE (page table entires)?

It dirty=1, then page has to be written to swap file and if dirty=0, then
page is not modified and not needed to write to swap file.

If there is some other undocumented usage of swap-cache, please give
pointers to that.


Regards,

Muthu. O.L.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/