Messages in this thread | | | Date | Thu, 5 Nov 2015 11:45:42 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable() checks |
| |
On Thu, 5 Nov 2015, Tetsuo Handa wrote:
> memory allocation. By allowing workqueue items to be processed (by using > short sleep), some task might release memory when workqueue item is > processed. > > Therefore, not only to keep vmstat counters up to date, but also for > avoid wasting CPU cycles, I prefer a short sleep.
Sorry but we need work queue processing for vmstat counters that is independent of other requests submitted that may block. Adding points where we sleep / schedule everywhere to do this is not the right approach.
| |