History log of /netbsd-src/sys/lib/libsa/alloc.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 10497fd2 31-Mar-2019 christos <christos@NetBSD.org>

fix warnings, printf formats, etc.


# 6896e29d 05-Jun-2016 maxv <maxv@NetBSD.org>

Remove the ALLOC_FIRST_FIT and ALLOC_TRACE options. This is a rather simple
allocator, and it does not need to be that complicated.


# a6deec34 30-Jul-2011 jakllsch <jakllsch@NetBSD.org>

Fix printf formating in ifdef DEBUG sections.


# c97378d0 16-Jun-2011 joerg <joerg@NetBSD.org>

Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and

Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.

show more ...


# fbe9cca8 25-Dec-2010 jakllsch <jakllsch@NetBSD.org>

Correct recently exposed printf format problem.


# db898c55 02-Dec-2007 tsutsui <tsutsui@NetBSD.org>

unsigned -> unsigned int


# 1c038e68 24-Nov-2007 isaki <isaki@NetBSD.org>

style, indent, and ANSI-fy.


# 6645a4f3 25-Jan-2006 christos <christos@NetBSD.org>

free -> dealloc


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 477853c3 26-Feb-2005 perry <perry@NetBSD.org>

nuke trailing whitespace


# 049fd5eb 30-Jun-2004 christos <christos@NetBSD.org>

help with casts, and lint hints.


# aad01611 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.


# 2d1837c8 01-Feb-2003 dsl <dsl@NetBSD.org>

KNR, removing ugly 'unsigned' variables.
Probably should be size_t, but now matched prototype.
(mainly agreed with christos - he wanted size_t....)


# 1279e67b 30-Mar-2000 augustss <augustss@NetBSD.org>

Kill some more register declarations.


# bb7cdd7c 28-May-1999 cgd <cgd@NetBSD.org>

don't bother initializing 'freelist' -- it can be bss


# fa38a523 11-Apr-1999 simonb <simonb@NetBSD.org>

The "found" label is not used if ALLOC_FIRST_FIT is defined.


# e46b652a 01-Apr-1999 simonb <simonb@NetBSD.org>

bestsize is unused if ALLOC_FIRST_FIT is defined.


# 9f58a1a9 17-Sep-1997 drochner <drochner@NetBSD.org>

fix printf() format warnings in debug output


# a8ac47dd 04-Jul-1997 drochner <drochner@NetBSD.org>

Fix syntax error which appeared #ifdef DEBUG ("end[]").
Simplify the heap location stuff.


# a1d00666 26-Jun-1997 drochner <drochner@NetBSD.org>

Allow to define the location of the heap at runtime #if HEAP_VARIABLE.
That helps to test libsa code in user space.


# 8347a747 13-Jun-1997 drochner <drochner@NetBSD.org>

Bring prototypes into scope.


# 2242daf7 16-Feb-1997 leo <leo@NetBSD.org>

Initialize 'bestf' to make this compile again with -Wall.


# 63930d7d 04-Feb-1997 thorpej <thorpej@NetBSD.org>

Add some debugging code to free(), to catch frees before the
start of the heap and beyond the end of the heap (if a heap limit
is defined).


# ea27b7aa 22-Jan-1997 cgd <cgd@NetBSD.org>

Add a whole bunch of features, from Matthias Drochner:
best-fit, rather than first-fit, algorithm.
ability to handle free()s with zero size (needed for gzip read
support).
ability to start th

Add a whole bunch of features, from Matthias Drochner:
best-fit, rather than first-fit, algorithm.
ability to handle free()s with zero size (needed for gzip read
support).
ability to start the heap someplace else (defined by HEAP_START).
ability to limit growth of the heap (via HEAP_LIMIT).
debugging sanity checks (ifdef DEBUG).
allocation tracing support, to help debugging (ifdef ALLOC_TRACE).
and from me:
ability to pick a (smaller) first-fit algorithm (via ALLOC_FIRST_FIT).
lots of comments.

If heap limits and all of the debugging features are disabled (the default),
and ALLOC_FIRST_FIT is defined (not the default), compiled with -O on the
alpha the new version is the same (object) size as the old version.

show more ...


# f496a53c 26-Sep-1996 cgd <cgd@NetBSD.org>

make sure new allocations are aligned.


12