[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fairness in love and swapping



[...]
> 
> It looks kinda valid, and I'll try and tune it RSN. If
> it gives any improvement, I'll send it to Linus for
> inclusion.

There is one point more which makes ageing a bit unfair.  In
include/linux/pagemap.h PAGE_AGE_VALUE is defined to 16 which is used in
__add_page_to_hash_queue() to set the age of a hashed page ... IMHO only
touch_page() should be used.  Nevertheless a static value of 16
breaks the dynamic manner of swap control via /proc/sys/vm/swapctl


         Werner