lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160708121132.8253-1-sergey.senozhatsky@gmail.com>
Date:	Fri,  8 Jul 2016 21:11:29 +0900
From:	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To:	Joonsoo Kim <iamjoonsoo.kim@....com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Vlastimil Babka <vbabka@...e.cz>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
	Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Subject: [RFC][PATCH v2 0/3] mm/page:_owner: track page free call chain

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ