From 0f870af5e211ce4161cc91faf992118388866e4e Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 1 Dec 2003 22:58:47 +0000 Subject: [PATCH] remove the show_mem() debugging; it's not exported from all kernels, and I've already learned what I needed to learn --- lnet/include/linux/kp30.h | 2 -- lustre/portals/include/linux/kp30.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 638d281..6fd1207 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -295,7 +295,6 @@ do { \ #ptr "' = %d)\n", __FILE__, __LINE__, (int)(size));\ CERROR("PORTALS: %d total bytes allocated by portals\n", \ atomic_read(&portal_kmemory)); \ - show_mem(); \ } else { \ portal_kmem_inc((ptr), (size)); \ memset((ptr), 0, (size)); \ @@ -335,7 +334,6 @@ do { \ __LINE__); \ CERROR("PORTALS: %d total bytes allocated by portals\n", \ atomic_read(&portal_kmemory)); \ - show_mem(); \ } else { \ portal_kmem_inc((ptr), (size)); \ memset((ptr), 0, (size)); \ diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 638d281..6fd1207 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -295,7 +295,6 @@ do { \ #ptr "' = %d)\n", __FILE__, __LINE__, (int)(size));\ CERROR("PORTALS: %d total bytes allocated by portals\n", \ atomic_read(&portal_kmemory)); \ - show_mem(); \ } else { \ portal_kmem_inc((ptr), (size)); \ memset((ptr), 0, (size)); \ @@ -335,7 +334,6 @@ do { \ __LINE__); \ CERROR("PORTALS: %d total bytes allocated by portals\n", \ atomic_read(&portal_kmemory)); \ - show_mem(); \ } else { \ portal_kmem_inc((ptr), (size)); \ memset((ptr), 0, (size)); \ -- 1.8.3.1