summaryrefslogtreecommitdiff
path: root/doc/README_malloc.txt
diff options
context:
space:
mode:
authorivmai <ivmai>2010-04-29 10:31:52 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-25 16:03:26 +0400
commitf3fdfc90907ca0a29d5cc906de68fd19bc2b0cbc (patch)
treec9b5a0ba3ab4bdb688739f0a3d0be998a1e6289a /doc/README_malloc.txt
parentc4419deedc2600601487d3eed0594d2aa4ab72d6 (diff)
downloadlibatomic_ops-f3fdfc90907ca0a29d5cc906de68fd19bc2b0cbc.tar.gz
2010-04-29 Ivan Maidanski <ivmai@mail.ru>
* doc/README_malloc.txt: Fix a typo. * doc/README_stack.txt: Ditto.
Diffstat (limited to 'doc/README_malloc.txt')
-rw-r--r--doc/README_malloc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/README_malloc.txt b/doc/README_malloc.txt
index 680b3e2..ec4ed89 100644
--- a/doc/README_malloc.txt
+++ b/doc/README_malloc.txt
@@ -23,7 +23,7 @@ quite poor in practice. In particular, no attempt is made to
coalesce free small memory blocks. Something like Doug Lea's malloc is
likely to use significantly less memory for complex applications.
-Perfomance on platforms without an efficient compare-and-swap implementation
+Performance on platforms without an efficient compare-and-swap implementation
will be poor.
This package was not designed for processor-scalability in the face of
@@ -31,7 +31,7 @@ high allocation rates. If all threads happen to allocate different-sized
objects, you might get lucky. Otherwise expect contention and false-sharing
problems. If this is an issue, something like Maged Michael's algorithm
(PLDI 2004) would be technically a far better choice. If you are concerned
-only with scalablity, and not signal-safety, you might also consider
+only with scalability, and not signal-safety, you might also consider
using Hoard instead. We have seen a factor of 3 to 4 slowdown from the
standard glibc malloc implementation with contention, even when the
performance without contention was faster. (To make the implementation