> Have I missed something here?
The only places I see that read pg_swap_entry are in swap.h and both are
protected by testing the PG_swap_cache bit. Please don't start clearing
this field... In my personal tree I've moved it into a union in struct
page that overlaps with some other fields (our struct page is already huge
compared to other unices). There are a couple of other cases where we can
make these savings.
Cheers,
-ben