Re: [PATCH v9] mm: Add memory allocation watchdog kernel thread.

2017-05-28 Thread Tetsuo Handa
Tetsuo Handa wrote: > Changes from v7 [11]: > > (1) Reflect review comments from Andrew Morton. (Convert "u8 type" to > "bool report", use CPUHP_PAGE_ALLOC_DEAD event and replace > for_each_possible_cpu() with for_each_online_cpu(), reuse existing > rcu_lock_break() and hung_ti

[PATCH v9] mm: Add memory allocation watchdog kernel thread.

2017-05-20 Thread Tetsuo Handa
This patch adds a watchdog which periodically reports number of memory allocating tasks, dying tasks and OOM victim tasks when some task is spending too long time inside __alloc_pages_slowpath(). This patch also serves as a hook for obtaining additional information using SystemTap (e.g. examine oth