This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.19-505-g987c026


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  987c02692a88b8c9024cb99187434aad02c3c047 (commit)
       via  20c138997ae767c9ccdffdf69f9ba5336b5b794b (commit)
      from  1670e207c57513da84462c2a018f01653e7d1cc6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=987c02692a88b8c9024cb99187434aad02c3c047

commit 987c02692a88b8c9024cb99187434aad02c3c047
Author: OndÅ?ej Bílka <neleai@seznam.cz>
Date:   Fri May 30 13:24:56 2014 +0200

    Remove mi_arena nested function.

diff --git a/ChangeLog b/ChangeLog
index 8e06a7e..c2351d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-30  OndÅ?ej Bílka  <neleai@seznam.cz>
+
+	* malloc/malloc.c (malloc_info): Inline mi_arena.
+
 2014-05-29  Richard Henderson  <rth@twiddle.net>
 
 	* sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 1120d4d..963a333 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -5004,147 +5004,143 @@ malloc_info (int options, FILE *fp)
   size_t total_aspace = 0;
   size_t total_aspace_mprotect = 0;
 
-  void
-  mi_arena (mstate ar_ptr)
-  {
-    fprintf (fp, "<heap nr=\"%d\">\n<sizes>\n", n++);
-
-    size_t nblocks = 0;
-    size_t nfastblocks = 0;
-    size_t avail = 0;
-    size_t fastavail = 0;
-    struct
-    {
-      size_t from;
-      size_t to;
-      size_t total;
-      size_t count;
-    } sizes[NFASTBINS + NBINS - 1];
-#define nsizes (sizeof (sizes) / sizeof (sizes[0]))
-
-    mutex_lock (&ar_ptr->mutex);
 
-    for (size_t i = 0; i < NFASTBINS; ++i)
-      {
-        mchunkptr p = fastbin (ar_ptr, i);
-        if (p != NULL)
-          {
-            size_t nthissize = 0;
-            size_t thissize = chunksize (p);
 
-            while (p != NULL)
-              {
-                ++nthissize;
-                p = p->fd;
-              }
+  if (__malloc_initialized < 0)
+    ptmalloc_init ();
 
-            fastavail += nthissize * thissize;
-            nfastblocks += nthissize;
-            sizes[i].from = thissize - (MALLOC_ALIGNMENT - 1);
-            sizes[i].to = thissize;
-            sizes[i].count = nthissize;
-          }
-        else
-          sizes[i].from = sizes[i].to = sizes[i].count = 0;
+  fputs ("<malloc version=\"1\">\n", fp);
 
-        sizes[i].total = sizes[i].count * sizes[i].to;
-      }
+  /* Iterate over all arenas currently in use.  */
+  mstate ar_ptr = &main_arena;
+  do
+    {
+      fprintf (fp, "<heap nr=\"%d\">\n<sizes>\n", n++);
 
+      size_t nblocks = 0;
+      size_t nfastblocks = 0;
+      size_t avail = 0;
+      size_t fastavail = 0;
+      struct
+      {
+	size_t from;
+	size_t to;
+	size_t total;
+	size_t count;
+      } sizes[NFASTBINS + NBINS - 1];
+#define nsizes (sizeof (sizes) / sizeof (sizes[0]))
 
-    mbinptr bin;
-    struct malloc_chunk *r;
+      mutex_lock (&ar_ptr->mutex);
 
-    for (size_t i = 1; i < NBINS; ++i)
-      {
-        bin = bin_at (ar_ptr, i);
-        r = bin->fd;
-        sizes[NFASTBINS - 1 + i].from = ~((size_t) 0);
-        sizes[NFASTBINS - 1 + i].to = sizes[NFASTBINS - 1 + i].total
-                                        = sizes[NFASTBINS - 1 + i].count = 0;
-
-        if (r != NULL)
-          while (r != bin)
-            {
-              ++sizes[NFASTBINS - 1 + i].count;
-              sizes[NFASTBINS - 1 + i].total += r->size;
-              sizes[NFASTBINS - 1 + i].from
-                = MIN (sizes[NFASTBINS - 1 + i].from, r->size);
-              sizes[NFASTBINS - 1 + i].to = MAX (sizes[NFASTBINS - 1 + i].to,
-                                                 r->size);
-
-              r = r->fd;
-            }
+      for (size_t i = 0; i < NFASTBINS; ++i)
+	{
+	  mchunkptr p = fastbin (ar_ptr, i);
+	  if (p != NULL)
+	    {
+	      size_t nthissize = 0;
+	      size_t thissize = chunksize (p);
+
+	      while (p != NULL)
+		{
+		  ++nthissize;
+		  p = p->fd;
+		}
+
+	      fastavail += nthissize * thissize;
+	      nfastblocks += nthissize;
+	      sizes[i].from = thissize - (MALLOC_ALIGNMENT - 1);
+	      sizes[i].to = thissize;
+	      sizes[i].count = nthissize;
+	    }
+	  else
+	    sizes[i].from = sizes[i].to = sizes[i].count = 0;
 
-        if (sizes[NFASTBINS - 1 + i].count == 0)
-          sizes[NFASTBINS - 1 + i].from = 0;
-        nblocks += sizes[NFASTBINS - 1 + i].count;
-        avail += sizes[NFASTBINS - 1 + i].total;
-      }
+	  sizes[i].total = sizes[i].count * sizes[i].to;
+	}
 
-    mutex_unlock (&ar_ptr->mutex);
 
-    total_nfastblocks += nfastblocks;
-    total_fastavail += fastavail;
+      mbinptr bin;
+      struct malloc_chunk *r;
 
-    total_nblocks += nblocks;
-    total_avail += avail;
+      for (size_t i = 1; i < NBINS; ++i)
+	{
+	  bin = bin_at (ar_ptr, i);
+	  r = bin->fd;
+	  sizes[NFASTBINS - 1 + i].from = ~((size_t) 0);
+	  sizes[NFASTBINS - 1 + i].to = sizes[NFASTBINS - 1 + i].total
+					  = sizes[NFASTBINS - 1 + i].count = 0;
+
+	  if (r != NULL)
+	    while (r != bin)
+	      {
+		++sizes[NFASTBINS - 1 + i].count;
+		sizes[NFASTBINS - 1 + i].total += r->size;
+		sizes[NFASTBINS - 1 + i].from
+		  = MIN (sizes[NFASTBINS - 1 + i].from, r->size);
+		sizes[NFASTBINS - 1 + i].to = MAX (sizes[NFASTBINS - 1 + i].to,
+						   r->size);
+
+		r = r->fd;
+	      }
+
+	  if (sizes[NFASTBINS - 1 + i].count == 0)
+	    sizes[NFASTBINS - 1 + i].from = 0;
+	  nblocks += sizes[NFASTBINS - 1 + i].count;
+	  avail += sizes[NFASTBINS - 1 + i].total;
+	}
 
-    for (size_t i = 0; i < nsizes; ++i)
-      if (sizes[i].count != 0 && i != NFASTBINS)
-        fprintf (fp, "							      \
-<size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
-                 sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);
+      mutex_unlock (&ar_ptr->mutex);
 
-    if (sizes[NFASTBINS].count != 0)
-      fprintf (fp, "\
-<unsorted from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
-               sizes[NFASTBINS].from, sizes[NFASTBINS].to,
-               sizes[NFASTBINS].total, sizes[NFASTBINS].count);
+      total_nfastblocks += nfastblocks;
+      total_fastavail += fastavail;
 
-    total_system += ar_ptr->system_mem;
-    total_max_system += ar_ptr->max_system_mem;
+      total_nblocks += nblocks;
+      total_avail += avail;
 
-    fprintf (fp,
-             "</sizes>\n<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
-             "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
-             "<system type=\"current\" size=\"%zu\"/>\n"
-             "<system type=\"max\" size=\"%zu\"/>\n",
-             nfastblocks, fastavail, nblocks, avail,
-             ar_ptr->system_mem, ar_ptr->max_system_mem);
+      for (size_t i = 0; i < nsizes; ++i)
+	if (sizes[i].count != 0 && i != NFASTBINS)
+	  fprintf (fp, "							      \
+  <size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
+		   sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);
 
-    if (ar_ptr != &main_arena)
-      {
-        heap_info *heap = heap_for_ptr (top (ar_ptr));
-        fprintf (fp,
-                 "<aspace type=\"total\" size=\"%zu\"/>\n"
-                 "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
-                 heap->size, heap->mprotect_size);
-        total_aspace += heap->size;
-        total_aspace_mprotect += heap->mprotect_size;
-      }
-    else
-      {
-        fprintf (fp,
-                 "<aspace type=\"total\" size=\"%zu\"/>\n"
-                 "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
-                 ar_ptr->system_mem, ar_ptr->system_mem);
-        total_aspace += ar_ptr->system_mem;
-        total_aspace_mprotect += ar_ptr->system_mem;
-      }
+      if (sizes[NFASTBINS].count != 0)
+	fprintf (fp, "\
+  <unsorted from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
+		 sizes[NFASTBINS].from, sizes[NFASTBINS].to,
+		 sizes[NFASTBINS].total, sizes[NFASTBINS].count);
 
-    fputs ("</heap>\n", fp);
-  }
+      total_system += ar_ptr->system_mem;
+      total_max_system += ar_ptr->max_system_mem;
 
-  if (__malloc_initialized < 0)
-    ptmalloc_init ();
+      fprintf (fp,
+	       "</sizes>\n<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
+	       "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
+	       "<system type=\"current\" size=\"%zu\"/>\n"
+	       "<system type=\"max\" size=\"%zu\"/>\n",
+	       nfastblocks, fastavail, nblocks, avail,
+	       ar_ptr->system_mem, ar_ptr->max_system_mem);
 
-  fputs ("<malloc version=\"1\">\n", fp);
+      if (ar_ptr != &main_arena)
+	{
+	  heap_info *heap = heap_for_ptr (top (ar_ptr));
+	  fprintf (fp,
+		   "<aspace type=\"total\" size=\"%zu\"/>\n"
+		   "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
+		   heap->size, heap->mprotect_size);
+	  total_aspace += heap->size;
+	  total_aspace_mprotect += heap->mprotect_size;
+	}
+      else
+	{
+	  fprintf (fp,
+		   "<aspace type=\"total\" size=\"%zu\"/>\n"
+		   "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
+		   ar_ptr->system_mem, ar_ptr->system_mem);
+	  total_aspace += ar_ptr->system_mem;
+	  total_aspace_mprotect += ar_ptr->system_mem;
+	}
 
-  /* Iterate over all arenas currently in use.  */
-  mstate ar_ptr = &main_arena;
-  do
-    {
-      mi_arena (ar_ptr);
+      fputs ("</heap>\n", fp);
       ar_ptr = ar_ptr->next;
     }
   while (ar_ptr != &main_arena);

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=20c138997ae767c9ccdffdf69f9ba5336b5b794b

commit 20c138997ae767c9ccdffdf69f9ba5336b5b794b
Author: OndÅ?ej Bílka <neleai@seznam.cz>
Date:   Fri May 30 13:23:39 2014 +0200

    revert commit fdfd175d46ac6a810ebdeb2a2936e6d7d13995ab

diff --git a/malloc/malloc.c b/malloc/malloc.c
index 92ad9f9..1120d4d 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4986,162 +4986,154 @@ __posix_memalign (void **memptr, size_t alignment, size_t size)
 }
 weak_alias (__posix_memalign, posix_memalign)
 
-static inline void
-mi_arena (mstate ar_ptr,
-	  FILE *fp,
-	  size_t *total_nblocks,
-	  size_t *total_nfastblocks,
-	  size_t *total_avail,
-	  size_t *total_fastavail,
-	  size_t *total_system,
-	  size_t *total_max_system,
-	  size_t *total_aspace,
-	  size_t *total_aspace_mprotect)
+
+int
+malloc_info (int options, FILE *fp)
 {
-  int n = 0;
+  /* For now, at least.  */
+  if (options != 0)
+    return EINVAL;
 
-  fprintf (fp, "<heap nr=\"%d\">\n<sizes>\n", n++);
+  int n = 0;
+  size_t total_nblocks = 0;
+  size_t total_nfastblocks = 0;
+  size_t total_avail = 0;
+  size_t total_fastavail = 0;
+  size_t total_system = 0;
+  size_t total_max_system = 0;
+  size_t total_aspace = 0;
+  size_t total_aspace_mprotect = 0;
 
-  size_t nblocks = 0;
-  size_t nfastblocks = 0;
-  size_t avail = 0;
-  size_t fastavail = 0;
-  struct
+  void
+  mi_arena (mstate ar_ptr)
   {
-    size_t from;
-    size_t to;
-    size_t total;
-    size_t count;
-  } sizes[NFASTBINS + NBINS - 1];
-#define nsizes (sizeof (sizes) / sizeof (sizes[0]))
+    fprintf (fp, "<heap nr=\"%d\">\n<sizes>\n", n++);
 
-  mutex_lock (&ar_ptr->mutex);
-  for (size_t i = 0; i < NFASTBINS; ++i)
+    size_t nblocks = 0;
+    size_t nfastblocks = 0;
+    size_t avail = 0;
+    size_t fastavail = 0;
+    struct
     {
-      mchunkptr p = fastbin (ar_ptr, i);
-      if (p != NULL)
-        {
-          size_t nthissize = 0;
-          size_t thissize = chunksize (p);
+      size_t from;
+      size_t to;
+      size_t total;
+      size_t count;
+    } sizes[NFASTBINS + NBINS - 1];
+#define nsizes (sizeof (sizes) / sizeof (sizes[0]))
 
-          while (p != NULL)
-            {
-              ++nthissize;
-              p = p->fd;
-            }
+    mutex_lock (&ar_ptr->mutex);
 
-          fastavail += nthissize * thissize;
-          nfastblocks += nthissize;
-          sizes[i].from = thissize - (MALLOC_ALIGNMENT - 1);
-          sizes[i].to = thissize;
-          sizes[i].count = nthissize;
-        }
-      else
-        sizes[i].from = sizes[i].to = sizes[i].count = 0;
+    for (size_t i = 0; i < NFASTBINS; ++i)
+      {
+        mchunkptr p = fastbin (ar_ptr, i);
+        if (p != NULL)
+          {
+            size_t nthissize = 0;
+            size_t thissize = chunksize (p);
 
-      sizes[i].total = sizes[i].count * sizes[i].to;
-    }
+            while (p != NULL)
+              {
+                ++nthissize;
+                p = p->fd;
+              }
 
+            fastavail += nthissize * thissize;
+            nfastblocks += nthissize;
+            sizes[i].from = thissize - (MALLOC_ALIGNMENT - 1);
+            sizes[i].to = thissize;
+            sizes[i].count = nthissize;
+          }
+        else
+          sizes[i].from = sizes[i].to = sizes[i].count = 0;
 
-  mbinptr bin;
-  struct malloc_chunk *r;
+        sizes[i].total = sizes[i].count * sizes[i].to;
+      }
 
-  for (size_t i = 1; i < NBINS; ++i)
-    {
-      bin = bin_at (ar_ptr, i);
-      r = bin->fd;
-      sizes[NFASTBINS - 1 + i].from = ~((size_t) 0);
-      sizes[NFASTBINS - 1 + i].to = sizes[NFASTBINS - 1 + i].total
-                                    = sizes[NFASTBINS - 1 + i].count = 0;
-
-      if (r != NULL)
-        while (r != bin)
-          {
-            ++sizes[NFASTBINS - 1 + i].count;
-            sizes[NFASTBINS - 1 + i].total += r->size;
-            sizes[NFASTBINS - 1 + i].from
-              = MIN (sizes[NFASTBINS - 1 + i].from, r->size);
-            sizes[NFASTBINS - 1 + i].to = MAX (sizes[NFASTBINS - 1 + i].to,
-                                               r->size);
-
-            r = r->fd;
-          }
 
-      if (sizes[NFASTBINS - 1 + i].count == 0)
-        sizes[NFASTBINS - 1 + i].from = 0;
-      nblocks += sizes[NFASTBINS - 1 + i].count;
-      avail += sizes[NFASTBINS - 1 + i].total;
-    }
+    mbinptr bin;
+    struct malloc_chunk *r;
 
-  mutex_unlock (&ar_ptr->mutex);
+    for (size_t i = 1; i < NBINS; ++i)
+      {
+        bin = bin_at (ar_ptr, i);
+        r = bin->fd;
+        sizes[NFASTBINS - 1 + i].from = ~((size_t) 0);
+        sizes[NFASTBINS - 1 + i].to = sizes[NFASTBINS - 1 + i].total
+                                        = sizes[NFASTBINS - 1 + i].count = 0;
+
+        if (r != NULL)
+          while (r != bin)
+            {
+              ++sizes[NFASTBINS - 1 + i].count;
+              sizes[NFASTBINS - 1 + i].total += r->size;
+              sizes[NFASTBINS - 1 + i].from
+                = MIN (sizes[NFASTBINS - 1 + i].from, r->size);
+              sizes[NFASTBINS - 1 + i].to = MAX (sizes[NFASTBINS - 1 + i].to,
+                                                 r->size);
+
+              r = r->fd;
+            }
 
-  *total_nfastblocks += nfastblocks;
-  *total_fastavail += fastavail;
+        if (sizes[NFASTBINS - 1 + i].count == 0)
+          sizes[NFASTBINS - 1 + i].from = 0;
+        nblocks += sizes[NFASTBINS - 1 + i].count;
+        avail += sizes[NFASTBINS - 1 + i].total;
+      }
 
-  *total_nblocks += nblocks;
-  *total_avail += avail;
+    mutex_unlock (&ar_ptr->mutex);
 
-  for (size_t i = 0; i < nsizes; ++i)
-    if (sizes[i].count != 0 && i != NFASTBINS)
-      fprintf (fp, "							      \
-<size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
-               sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);
+    total_nfastblocks += nfastblocks;
+    total_fastavail += fastavail;
 
-  if (sizes[NFASTBINS].count != 0)
-    fprintf (fp, "\
-<unsorted from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
-             sizes[NFASTBINS].from, sizes[NFASTBINS].to,
-             sizes[NFASTBINS].total, sizes[NFASTBINS].count);
+    total_nblocks += nblocks;
+    total_avail += avail;
 
-  *total_system += ar_ptr->system_mem;
-  *total_max_system += ar_ptr->max_system_mem;
+    for (size_t i = 0; i < nsizes; ++i)
+      if (sizes[i].count != 0 && i != NFASTBINS)
+        fprintf (fp, "							      \
+<size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
+                 sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count);
 
-  fprintf (fp,
-           "</sizes>\n<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
-           "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
-           "<system type=\"current\" size=\"%zu\"/>\n"
-           "<system type=\"max\" size=\"%zu\"/>\n",
-           nfastblocks, fastavail, nblocks, avail,
-           ar_ptr->system_mem, ar_ptr->max_system_mem);
+    if (sizes[NFASTBINS].count != 0)
+      fprintf (fp, "\
+<unsorted from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n",
+               sizes[NFASTBINS].from, sizes[NFASTBINS].to,
+               sizes[NFASTBINS].total, sizes[NFASTBINS].count);
 
-  if (ar_ptr != &main_arena)
-    {
-      heap_info *heap = heap_for_ptr (top (ar_ptr));
-      fprintf (fp,
-               "<aspace type=\"total\" size=\"%zu\"/>\n"
-               "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
-               heap->size, heap->mprotect_size);
-      *total_aspace += heap->size;
-      *total_aspace_mprotect += heap->mprotect_size;
-    }
-  else
-    {
-      fprintf (fp,
-               "<aspace type=\"total\" size=\"%zu\"/>\n"
-               "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
-               ar_ptr->system_mem, ar_ptr->system_mem);
-      *total_aspace += ar_ptr->system_mem;
-      *total_aspace_mprotect += ar_ptr->system_mem;
-    }
+    total_system += ar_ptr->system_mem;
+    total_max_system += ar_ptr->max_system_mem;
 
-  fputs ("</heap>\n", fp);
-}
+    fprintf (fp,
+             "</sizes>\n<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
+             "<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
+             "<system type=\"current\" size=\"%zu\"/>\n"
+             "<system type=\"max\" size=\"%zu\"/>\n",
+             nfastblocks, fastavail, nblocks, avail,
+             ar_ptr->system_mem, ar_ptr->max_system_mem);
 
-int
-malloc_info (int options, FILE *fp)
-{
-  /* For now, at least.  */
-  if (options != 0)
-    return EINVAL;
+    if (ar_ptr != &main_arena)
+      {
+        heap_info *heap = heap_for_ptr (top (ar_ptr));
+        fprintf (fp,
+                 "<aspace type=\"total\" size=\"%zu\"/>\n"
+                 "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
+                 heap->size, heap->mprotect_size);
+        total_aspace += heap->size;
+        total_aspace_mprotect += heap->mprotect_size;
+      }
+    else
+      {
+        fprintf (fp,
+                 "<aspace type=\"total\" size=\"%zu\"/>\n"
+                 "<aspace type=\"mprotect\" size=\"%zu\"/>\n",
+                 ar_ptr->system_mem, ar_ptr->system_mem);
+        total_aspace += ar_ptr->system_mem;
+        total_aspace_mprotect += ar_ptr->system_mem;
+      }
 
-  size_t total_nblocks = 0;
-  size_t total_nfastblocks = 0;
-  size_t total_avail = 0;
-  size_t total_fastavail = 0;
-  size_t total_system = 0;
-  size_t total_max_system = 0;
-  size_t total_aspace = 0;
-  size_t total_aspace_mprotect = 0;
+    fputs ("</heap>\n", fp);
+  }
 
   if (__malloc_initialized < 0)
     ptmalloc_init ();
@@ -5152,9 +5144,7 @@ malloc_info (int options, FILE *fp)
   mstate ar_ptr = &main_arena;
   do
     {
-      mi_arena (ar_ptr, fp, &total_nblocks, &total_nfastblocks, &total_avail,
-		&total_fastavail, &total_system, &total_max_system,
-		&total_aspace, &total_aspace_mprotect);
+      mi_arena (ar_ptr);
       ar_ptr = ar_ptr->next;
     }
   while (ar_ptr != &main_arena);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    4 +
 malloc/malloc.c |  272 ++++++++++++++++++++++++++-----------------------------
 2 files changed, 133 insertions(+), 143 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]