linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [v1 0/1] discard memblock data later
@ 2017-08-11 21:00 Pavel Tatashin
  2017-08-11 21:00 ` [v1 1/1] mm: " Pavel Tatashin
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Tatashin @ 2017-08-11 21:00 UTC (permalink / raw)
  To: steven.sistare, daniel.m.jordan, bob.picco, linux-kernel,
	linux-mm, mhocko, mgorman

This fixes a problem with use after free that can happen when there are
many physical regions and deferred pages are enabled.

Also, this fix is needed for my upcoming improvements to deferred pages:
"complete deferred page initialization", where we do not zero the backing
struct page memory.

Pavel Tatashin (1):
  mm: discard memblock data later

 include/linux/memblock.h |  8 +++++---
 mm/memblock.c            | 38 +++++++++++++++++---------------------
 mm/nobootmem.c           | 16 ----------------
 mm/page_alloc.c          |  4 ++++
 4 files changed, 26 insertions(+), 40 deletions(-)

-- 
2.14.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-11 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 21:00 [v1 0/1] discard memblock data later Pavel Tatashin
2017-08-11 21:00 ` [v1 1/1] mm: " Pavel Tatashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).