summaryrefslogtreecommitdiff
path: root/sys/dev/ic/athrate-sample.c
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2014-03-04 21:07:38 +0000
committermrg <mrg@NetBSD.org>2014-03-04 21:07:38 +0000
commitbb269a48a309936c70c6ae3cda17034d0ecbef46 (patch)
tree248cbbc03c59f0cf993c0f89bc77aaeb329b5389 /sys/dev/ic/athrate-sample.c
parente7dd1fc70ab7d2f51a96210450c698774b621ce2 (diff)
partial mknative-gcc for gcc 4.8 and ppc64.
Diffstat (limited to 'sys/dev/ic/athrate-sample.c')
0 files changed, 0 insertions, 0 deletions
9- first kick at a major reworking of RAIDframe's memory allocation code:oster - 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. 2002-09-17Introduce and use RF_DEBUG_QUEUE (for debugging the various queueingoster types available in RAIDframe).