There's quite a bit of variablility between runs, so it's a little hard to pin
down. The number of locks taken doesn't seem to be affected much, and
that's probably the best indicator of whether this is really working.
> adds more tests: activate_page is only called from mark_page_accessed
> (after testing !PageActive) and from fail_writepage (where usually
> !PageActive). I don't think many !PageLRU pages can get there.
> Or is activate_page being called from other places in your tree?
No, I don't think I'm doing other stranger things to activate_page.
It does seem distinctly odd that we take the lock, *then* test whether
we actually need to do anything. Is the test just a sanity check that
should never fail?
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/