Module: xenomai-forge
Branch: master
Commit: e7ba680262b0e5db5fc1b54aae06aafda9383a6d
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=e7ba680262b0e5db5fc1b54aae06aafda9383a6d

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov 28 22:28:14 2011 +0100

copperplate/heapobj, vxworks: sanitize locking, simplify wrapping

We remove the per-heap object lock, which was duplicating the outer
locking from a sync object the heap belongs to in most cases, fixing
the only caller who did expect the heap object to handle locking
internally (i.e. VxWorks's memParLib).

Secondly, we get rid of the indirection to invoke the allocator
routines via a call table in the pshared case, which brought
absolutely zero value, but overhead. At this chance, we also inline
most of the calls to TLSF/malloc for private allocation.

---

 Makefile.in                                        |    4 +-
 aclocal.m4                                         |    4 +-
 config/Makefile.in                                 |    4 +-
 config/libtool.m4                                  | 1996 ++++++----
 config/ltmain.sh                                   | 3957 +++++++++++++-------
 config/ltoptions.m4                                |   13 +-
 config/ltversion.m4                                |   12 +-
 config/lt~obsolete.m4                              |   12 +-
 configure                                          | 2715 +++++++++-----
 configure.in                                       |    1 +
 doc/Makefile.in                                    |    4 +-
 doc/docbook/Makefile.in                            |    4 +-
 doc/docbook/custom-stylesheets/Makefile.in         |    4 +-
 doc/docbook/custom-stylesheets/xsl/Makefile.in     |    4 +-
 .../custom-stylesheets/xsl/common/Makefile.in      |    4 +-
 doc/docbook/custom-stylesheets/xsl/fo/Makefile.in  |    4 +-
 .../custom-stylesheets/xsl/html/Makefile.in        |    4 +-
 doc/docbook/xenomai/Makefile.in                    |    4 +-
 doc/doxygen/Makefile.in                            |    4 +-
 doc/man/Makefile.in                                |    4 +-
 doc/txt/Makefile.in                                |    4 +-
 include/Makefile.in                                |    4 +-
 include/alchemy/Makefile.in                        |    4 +-
 include/analogy/Makefile.in                        |    4 +-
 include/asm-arm/Makefile.in                        |    4 +-
 include/asm-arm/bits/Makefile.in                   |    4 +-
 include/asm-blackfin/Makefile.in                   |    4 +-
 include/asm-blackfin/bits/Makefile.in              |    4 +-
 include/asm-generic/Makefile.in                    |    4 +-
 include/asm-generic/bits/Makefile.in               |    4 +-
 include/asm-nios2/Makefile.in                      |    4 +-
 include/asm-nios2/bits/Makefile.in                 |    4 +-
 include/asm-powerpc/Makefile.in                    |    4 +-
 include/asm-powerpc/bits/Makefile.in               |    4 +-
 include/asm-sh/Makefile.in                         |    4 +-
 include/asm-sh/bits/Makefile.in                    |    4 +-
 include/asm-sim/Makefile.in                        |    4 +-
 include/asm-sim/bits/Makefile.in                   |    4 +-
 include/asm-x86/Makefile.in                        |    4 +-
 include/asm-x86/bits/Makefile.in                   |    4 +-
 include/cobalt/Makefile.in                         |    4 +-
 include/cobalt/nucleus/Makefile.in                 |    4 +-
 include/cobalt/sys/Makefile.in                     |    4 +-
 include/copperplate/Makefile.in                    |    4 +-
 include/copperplate/heapobj.h                      |  378 ++-
 include/mercury/Makefile.in                        |    4 +-
 include/psos/Makefile.in                           |    4 +-
 include/rtdm/Makefile.in                           |    4 +-
 include/vxworks/Makefile.in                        |    4 +-
 lib/Makefile.in                                    |    4 +-
 lib/alchemy/Makefile.in                            |    4 +-
 lib/analogy/Makefile.in                            |    4 +-
 lib/cobalt/Makefile.in                             |    4 +-
 lib/copperplate/Makefile.in                        |    4 +-
 lib/copperplate/heapobj-malloc.c                   |   85 +-
 lib/copperplate/heapobj-pshared.c                  |  183 +-
 lib/copperplate/heapobj-tlsf.c                     |  105 +-
 lib/include/Makefile.in                            |    4 +-
 lib/include/xeno_config.h.in                       |    3 +
 lib/psos/Makefile.in                               |    4 +-
 lib/vxworks/Makefile.in                            |    4 +-
 lib/vxworks/memPartLib.c                           |   19 +-
 lib/vxworks/memPartLib.h                           |    3 +-
 scripts/Makefile.in                                |    4 +-
 testsuite/Makefile.in                              |    4 +-
 testsuite/clocktest/Makefile.in                    |    4 +-
 testsuite/cyclic/Makefile.in                       |    4 +-
 testsuite/latency/Makefile.in                      |    4 +-
 testsuite/regression/Makefile.in                   |    4 +-
 testsuite/regression/posix/Makefile.in             |    4 +-
 testsuite/switchtest/Makefile.in                   |    4 +-
 testsuite/unit/Makefile.in                         |    4 +-
 testsuite/xeno-test/Makefile.in                    |    4 +-
 utils/Makefile.in                                  |    4 +-
 utils/analogy/Makefile.in                          |    4 +-
 utils/can/Makefile.in                              |    4 +-
 utils/ps/Makefile.in                               |    4 +-
 utils/slackspot/Makefile.in                        |    4 +-
 78 files changed, 6170 insertions(+), 3568 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-forge.git;a=commitdiff;h=e7ba680262b0e5db5fc1b54aae06aafda9383a6d

_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to