lkml.org 
[lkml]   [2016]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3][RFC] mm/page:_owner: track page free call chain
Date
Hello,

RFC

Page owner tracks a call chain that has allocated a page, this
patch set extends it with a PAGE_OWNER_TRACK_FREE functionality,
that now also tracks a call chain that has freed the page.

Page dump, thus, now has the following format:

a) page allocated backtrace
b) page free backtrace
c) backtrace of path that has trigger bad page

For a quick example of a case when this new b) part can make a
difference please see 0003.

Sergey Senozhatsky (3):
mm/page_owner: rename page_owner functions
mm/page_owner: rename PAGE_EXT_OWNER flag
mm/page_owner: track page free call chain

include/linux/page_ext.h | 15 ++++++-
include/linux/page_owner.h | 16 +++----
lib/Kconfig.debug | 10 +++++
mm/page_alloc.c | 4 +-
mm/page_owner.c | 110 +++++++++++++++++++++++++++++++--------------
mm/vmstat.c | 5 ++-
6 files changed, 113 insertions(+), 47 deletions(-)

--
2.9.0.37.g6d523a3

\
 
 \ /
  Last update: 2016-07-02 19:01    [W:0.053 / U:2.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site