Home | History | Annotate | Download | only in raidframe
History log of /src/sys/dev/raidframe/rf_debugMem.h
RevisionDateAuthorComments
 1.14  09-Feb-2019  christos - Change the allocation macros to be more like function calls
- Change sizeof(type) -> sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts

Thanks to oster@ for finding bugs and testing.
 1.13  01-May-2011  mrg branches: 1.13.56;
convert rf_debug_mem_mutex to a kmutex, and fix RF_DEBUG_MEM option.
 1.12  11-Dec-2005  christos branches: 1.12.98; 1.12.104;
merge ktrace-lwp.
 1.11  29-Dec-2003  oster - first kick at a major reworking of RAIDframe's memory allocation code:
- all freelists converted to pools
- initialization of structure members in certain cases where
code was relying on specific allocation and usage properties
to keep structures in a "known state" (that doesn't work with
pools!).
- make most pool_get() be "PR_WAITOK" until they can be analyzed
further, and/or have proper error handling added.
- all RF_Mallocs zero the space returned, so there is no difference
between RF_Calloc and RF_Malloc. In fact, all the RF_Calloc()'s
do is tend to do is get things horribly confused.
Make RF_Malloc() the "general memory allocator", with
RF_MallocAndAdd() the "general memory allocator with
allocation list".
- some of these RF_Malloc's et al. are destined to disappear.
- remove rf_rdp_freelist entirely (it's not used anywhere!)
- remove: #include "rf_freelist.h"
- to the files that were relying on the above, add: #include "rf_general.h"
- add: #include "rf_debugMem.h" to rf_shutdown.h to make it happy
about the loss of: #include "rf_freelist.h".

This shrinks an i386 GENERIC kernel by approx 5K. RAIDframe now
weighs in at about 162K on i386.
 1.10  16-Sep-2002  oster branches: 1.10.6;
Those of us who might be interested in debugging internal memory usage
of RAIDframe can use RF_DEBUG_MEM. I suspsect the rest of the world would
rather use that 14K of kernel memory for something else.
 1.9  04-Oct-2001  oster Step 2 of the disentanglement. We now look to <dev/raidframe/*> for
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places.
Believe it or not, when this is all done, things will be cleaner.

No functional changes to RAIDframe.
 1.8  18-Jul-2001  thorpej branches: 1.8.2;
bzero -> memset
 1.7  05-Sep-1999  oster branches: 1.7.14; 1.7.16;
Cleanup a bit more.
 1.6  05-Sep-1999  oster Remove one of the two bzero calls in RF_Calloc -- the 2nd one doesn't
buy us anything at all.
 1.5  04-Sep-1999  oster More cleanup of unused stuff. This time we nuke a bunch of memory
allocation stuff.
 1.4  05-Feb-1999  oster Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
and is much easier to read. No functionality changes.
 1.3  26-Jan-1999  oster RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,
out-dated comments, and other unneeded stuff. This helps prepare
for cleaning up the rest of the code, and adding new functionality.

No functional changes to the kernel code in this commit.
 1.2  14-Jan-1999  thorpej Use M_RAIDFRAME.
 1.1  13-Nov-1998  oster RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University. Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.
 1.7.16.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.16.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.16.1  03-Aug-2001  lukem update to -current
 1.7.14.3  18-Oct-2002  nathanw Catch up to -current.
 1.7.14.2  22-Oct-2001  nathanw Catch up to -current.
 1.7.14.1  24-Aug-2001  nathanw Catch up with -current.
 1.8.2.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.10.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1  03-Aug-2004  skrll Sync with HEAD
 1.12.104.1  06-Jun-2011  jruoho Sync with HEAD.
 1.12.98.1  31-May-2011  rmind sync with head
 1.13.56.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed