]> Git Repo - linux.git/commit
mm, page_alloc: defer debugging checks of freed pages until a PCP drain
authorMel Gorman <[email protected]>
Fri, 20 May 2016 00:14:32 +0000 (17:14 -0700)
committerLinus Torvalds <[email protected]>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit4db7548ccbd9ec8e666f35df4a530f55904dec39
tree73bed79bf4da794881cb5b9da99a017bdc2f3a99
parent002f290627c27068087f6204baec7a334e5a3b48
mm, page_alloc: defer debugging checks of freed pages until a PCP drain

Every page free checks a number of page fields for validity.  This
catches premature frees and corruptions but it is also expensive.  This
patch weakens the debugging check by checking PCP pages at the time they
are drained from the PCP list.  This will trigger the bug but the site
that freed the corrupt page will be lost.  To get the full context, a
kernel rebuild with DEBUG_VM is necessary.

[[email protected]: fix build]
Signed-off-by: Mel Gorman <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/page_alloc.c
This page took 0.052398 seconds and 4 git commands to generate.