Hi,
I've been very busy with exams for last week so couldn't work on it.
But had some time to play more with the patch I last posted.
It is quite stable initially, but when swap space usage increases to
about 20MB, apps within dear KDE begin to freeze. I tried to look out
for potential races but couldn't find any. Also, I never get OOPSes even
when apps begin to freeze (as-such system never freezes -- I can always
go to term and do tasks). I think these app freezes are because the
system is running out of memory because of this patch. It simply doesn't
allow clean page-cache(file-backed) pages to be freed, so under memory
pressure, system might be killing important processes leading to app
freezes.
So, now I'll try to actually compress pages and limit no. of pages
compressed to see real effect.
Cheers,
Nitin
|