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]
Date:   Thu,  7 Dec 2017 11:18:52 +0100
From:   Geert Uytterhoeven <geert+renesas@...der.be>
To:     Christoph Lameter <cl@...ux.com>,
        Pekka Enberg <penberg@...nel.org>,
        David Rientjes <rientjes@...gle.com>,
        Joonsoo Kim <iamjoonsoo.kim@....com>,
        Andrew Morton <akpm@...ux-foundation.org>
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] mm/slab: Merge adjacent debug sections

Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
 mm/slab.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mm/slab.c b/mm/slab.c
index 70be5823227dcb3e..dd8c6d33f59a11d1 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1569,9 +1569,6 @@ static void dump_line(char *data, int offset, int limit)
 		}
 	}
 }
-#endif
-
-#if DEBUG
 
 static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines)
 {
@@ -1661,9 +1658,7 @@ static void check_poison_obj(struct kmem_cache *cachep, void *objp)
 		}
 	}
 }
-#endif
 
-#if DEBUG
 static void slab_destroy_debugcheck(struct kmem_cache *cachep,
 						struct page *page)
 {
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ