Home | History | Annotate | Download | only in raidframe
History log of /src/sys/dev/raidframe/rf_debugMem.c
RevisionDateAuthorComments
 1.22  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.21  01-May-2011  mrg branches: 1.21.56;
convert rf_debug_mem_mutex to a kmutex, and fix RF_DEBUG_MEM option.
 1.20  18-Mar-2009  cegger branches: 1.20.4; 1.20.6;
Ansify function definitions w/o arguments. Generated with sed.
 1.19  12-Feb-2008  oster branches: 1.19.10; 1.19.18; 1.19.24;
rf_debugMem.c: remove unused 'rc' variable for RF_DEBUG_MEM.
rf_driver.c: minor comment tweak. Improve debugging output in
RF_DEBUG_QUIESCE.
rf_states.c: fix argument to rf_PrintDAGList() in the
RF_DEBUG_VALIDATE_DAG case.


Changes from Olivier Cherrier. Thanks!!
 1.18  16-Nov-2006  christos branches: 1.18.24; 1.18.30;
__unused removal on arguments; approved by core.
 1.17  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.16  11-Dec-2005  christos branches: 1.16.20; 1.16.22;
merge ktrace-lwp.
 1.15  27-Feb-2005  perry branches: 1.15.4;
nuke trailing whitespace
 1.14  30-Dec-2003  oster branches: 1.14.8; 1.14.10;
Some days you wonder if some of the function declaration consistency
was just an accident in the first place. Cleanup function decls and
a few comments. [ok.. so I wasn't going to fix this many.. but once
you're on a roll....]
 1.13  29-Dec-2003  oster _rf_create_managed_mutex() is doing just a simple:

rf_mutex_init(m)

now. The rest of the fluff is no longer needed.
It also cannot fail, so error checking on rf_create_managed_mutex()
is just wasting space.

Nuke the #define's associated with rf_create_managed_mutex().
Convert rf_create_managed_mutex(listp,m) to just rf_mutex_init(m).
Remove wasteful "error checking" and simplify all instances where this
is called. (another 0.3K saved in the binary, but the real savings
is in code readability!)
 1.12  23-Nov-2002  oster branches: 1.12.6;
Nuke all (but one) of the remaining RF_UTILITY's.
 1.11  16-Sep-2002  oster 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.10  14-Sep-2002  oster Everyone and their dog was using RF_ERRORMSG3 to print out the same
sort of error message, over and over again, in different files.
Rather than having the same text repeated in multiple .o files,
create a couple of little functions to do the printing, and save a
bundle of space. Also improves readability of code.
 1.9  13-Nov-2001  lukem add RCSIDs
 1.8  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.7  07-Jan-2000  oster branches: 1.7.6; 1.7.8; 1.7.10;
Nuke: #include "rf_threadid.h".
 1.6  04-Sep-1999  oster branches: 1.6.2;
More cleanup of unused stuff. This time we nuke a bunch of memory
allocation stuff.
 1.5  04-Sep-1999  oster Minor cleanup of (now) unneeded RF_UTILITY checks.
 1.4  13-Aug-1999  oster rf_sys.h does not need to be #included in any of these files, and, actually,
is no longer needed at all.
 1.3  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.2  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.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.6.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.7.10.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.7.8.2  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.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.6.5  11-Dec-2002  thorpej Sync with HEAD.
 1.7.6.4  18-Oct-2002  nathanw Catch up to -current.
 1.7.6.3  17-Sep-2002  nathanw Catch up to -current.
 1.7.6.2  14-Nov-2001  nathanw Catch up to -current.
 1.7.6.1  22-Oct-2001  nathanw Catch up to -current.
 1.12.6.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.12.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1  03-Aug-2004  skrll Sync with HEAD
 1.14.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.14.8.1  29-Apr-2005  kent sync with -current
 1.15.4.1  27-Feb-2008  yamt sync with head.
 1.16.22.2  10-Dec-2006  yamt sync with head.
 1.16.22.1  22-Oct-2006  yamt sync with head
 1.16.20.1  18-Nov-2006  ad Sync with head.
 1.18.30.1  18-Feb-2008  mjf Sync with HEAD.
 1.18.24.1  23-Mar-2008  matt sync with HEAD
 1.19.24.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.19.18.1  28-Apr-2009  skrll Sync with HEAD.
 1.19.10.1  04-May-2009  yamt sync with head.
 1.20.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.20.4.1  31-May-2011  rmind sync with head
 1.21.56.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed