memory management talk + patches for femalloc+xtbench
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: mm@80x24.org
Subject: [PATCH xtbench] rename xtmalloc references to femalloc
Date: Wed, 30 Jul 2014 22:13:17 +0000	[thread overview]
Message-ID: <20140730221317.GA11330@dcvr.yhbt.net> (raw)
In-Reply-To: <20140730213857.GA1913@dcvr.yhbt.net>

xtmalloc was renamed to femalloc to avoid confusion with XtMalloc in
the X Toolkit.

This project (xtbench) does not need to be renamed.
---
 Makefile.am  | 16 ++++++++--------
 configure.ac | 10 +++++-----
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 36f51ea..d0802c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -83,14 +83,14 @@ xthr_ptmalloc3_CFLAGS = $(PTHREAD_CFLAGS)
 xthr_ptmalloc3_LDADD = $(t_test1_ptmalloc3_LDADD)
 endif
 
-if HAVE_XTMALLOC
-check_PROGRAMS += t-test1-xtmalloc xthr-xtmalloc
-t_test1_xtmalloc_SOURCES = t-test1.c
-t_test1_xtmalloc_CFLAGS = $(PTHREAD_CFLAGS)
-t_test1_xtmalloc_LDADD = -lxtmalloc
-xthr_xtmalloc_SOURCES = xthr.c
-xthr_xtmalloc_CFLAGS = $(PTHREAD_CFLAGS)
-xthr_xtmalloc_LDADD = -lxtmalloc
+if HAVE_FEMALLOC
+check_PROGRAMS += t-test1-femalloc xthr-femalloc
+t_test1_femalloc_SOURCES = t-test1.c
+t_test1_femalloc_CFLAGS = $(PTHREAD_CFLAGS)
+t_test1_femalloc_LDADD = -lfemalloc
+xthr_femalloc_SOURCES = xthr.c
+xthr_femalloc_CFLAGS = $(PTHREAD_CFLAGS)
+xthr_femalloc_LDADD = -lfemalloc
 endif
 
 TESTS = $(check_PROGRAMS)
diff --git a/configure.ac b/configure.ac
index e47aaff..f3020f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
 AC_INIT([xtbench],
  m4_esyscmd([build-aux/git-version-gen .tarball-version]),
- [xtmalloc-public@80x24.org],
- [xtmalloc],
- [http://xtmalloc.80x24.net/xtbench/])
+ [mm@80x24.org],
+ [xtbench],
+ [http://femalloc.80x24.net/xtbench/])
 AC_CONFIG_SRCDIR([xthr.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([foreign silent-rules parallel-tests subdir-objects -Wall])
@@ -42,8 +42,8 @@ AC_CHECK_LIB([ptmalloc3],[malloc],[HAVE_PTMALLOC3=yes],[HAVE_PTMALLOC3=no])
 AM_CONDITIONAL([HAVE_PTMALLOC3],[test x"$HAVE_PTMALLOC3" = xyes])
 LIBS="$save_LIBS"
 
-AC_CHECK_LIB([xtmalloc],[malloc],[HAVE_XTMALLOC=yes],[HAVE_XTMALLOC=no])
-AM_CONDITIONAL([HAVE_XTMALLOC],[test x"$HAVE_XTMALLOC" = xyes])
+AC_CHECK_LIB([femalloc],[malloc],[HAVE_FEMALLOC=yes],[HAVE_FEMALLOC=no])
+AM_CONDITIONAL([HAVE_FEMALLOC],[test x"$HAVE_FEMALLOC" = xyes])
 
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
-- 
EW


      reply	other threads:[~2014-07-30 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 19:38 renaming xtmalloc and xtbench projects Eric Wong
2014-07-30 21:38 ` [PATCH xtmalloc] rename to femalloc Eric Wong
2014-07-30 22:13   ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140730221317.GA11330@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=mm@80x24.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox