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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/