]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint
authorHailong liu <liu.hailong6@zte.com.cn>
Thu, 31 Dec 2020 22:03:52 +0000 (22:03 +0000)
committerJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Dec 2020 22:03:52 +0000 (22:03 +0000)
commit1727d2253d804498535b3710e78a071cbf920bdf
tree6a07ebda5ea5cb715932532183714fddd2db129a
parent12042b12203ab133b2d2ba2ee0a95add230d7e03
mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint

The trace point *trace_mm_page_alloc_zone_locked()* in __rmqueue() does
not currently cover all branches.  Add the missing tracepoint and check
the page before do that.

Link: https://lkml.kernel.org/r/20201228132901.41523-1-carver4lio@163.com
Signed-off-by: Hailong liu <liu.hailong6@zte.com.cn>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c