[Please try to trim the context you are replying to] On Wed 08-11-17 11:30:23, peter enderborg wrote: [...] > What about the idea to keep the function, but instead of printing only do a trace event. I am not sure. I would rather see a tracepoint to mark the allocator entry. This would allow both 1) measuring the allocation latency (to compare it to the trace_mm_page_alloc and 2) check for stalls with arbitrary user defined timeout (just print all allocations which haven't passed trace_mm_page_alloc for the given amount of time). -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>