Whamcloud - gitweb
remove the show_mem() debugging; it's not exported from all kernels,
authorphil <phil>
Mon, 1 Dec 2003 22:58:47 +0000 (22:58 +0000)
committerphil <phil>
Mon, 1 Dec 2003 22:58:47 +0000 (22:58 +0000)
and I've already learned what I needed to learn

lnet/include/linux/kp30.h
lustre/portals/include/linux/kp30.h

index 638d281..6fd1207 100644 (file)
@@ -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));                                 \
index 638d281..6fd1207 100644 (file)
@@ -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));                                 \