OK.
> BTW, you could implement the more accurate tests with existing
> primitives:
> if (pte_val(pte_mkold(*page_table) ==
> pte_val(pte_mkold(pte)))) {
> ...
> }
> Also the fix would be quite expensive
I assume that this is because pte_mk* expands into set_pte.
Any solution that just invokes pte_val wouldn't have this problem. It would
expand into a nice quick set of bit operations...
Jeff
-
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/