Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439388

[RFC][PATCH v2 0/3] mm/page:_owner: track page free call chain

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject [RFC][PATCH v2 0/3] mm/page:_owner: track page free call chain
Date 2016-07-08 14:20 +0200
Message-ID <rSCVb-4Fq-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

Page owner tracks a call chain that has allocated a page, this
patch set extends it with a free_pages call chain tracking
functionality.

Page dump, thus, now has the following format:

        a) page allocated backtrace
        b) page free backtrace
        c) backtrace of the 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.

v2:
-- do not add PAGE_OWNER_TRACK_FREE .config -- Joonsoo
-- minor improvements

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   | 13 +++++--
 include/linux/page_owner.h | 16 ++++-----
 mm/page_alloc.c            |  4 +--
 mm/page_owner.c            | 86 ++++++++++++++++++++++++++++------------------
 mm/vmstat.c                |  5 ++-
 5 files changed, 77 insertions(+), 47 deletions(-)

-- 
2.9.0.37.g6d523a3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC][PATCH v2 0/3] mm/page:_owner: track page free call chain Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-07-08 14:20 +0200
  [RFC][PATCH v2 3/3] mm/page_owner: track page free call chain Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-07-08 14:20 +0200
  [RFC][PATCH v2 2/3] mm/page_owner: rename PAGE_EXT_OWNER flag Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-07-08 14:20 +0200
  [RFC][PATCH v2 1/3] mm/page_owner: rename page_owner functions Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-07-08 14:20 +0200

csiph-web