Messages in this thread | | | Date | Wed, 25 Nov 2015 13:00:22 +0100 | From | Michal Hocko <> | Subject | Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value |
| |
On Tue 24-11-15 15:22:03, Joonsoo Kim wrote: > When I tested compaction in low memory condition, I found that > my benchmark is stuck in congestion_wait() at shrink_inactive_list(). > This stuck last for 1 sec and after then it can escape. More investigation > shows that it is due to stale vmstat value. vmstat is updated every 1 sec > so it is stuck for 1 sec.
Wouldn't it be sufficient to use zone_page_state_snapshot in too_many_isolated? -- Michal Hocko SUSE Labs
| |