Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



>       src/sys/kern: subr_kmem.c
> 
> Log Message:
> Apply kmem patch posted to tech-kern.
> 
> - Add another level of caches, for max quantum cache size -> PAGE_SIZE.
> - Add debug code to verify that kmem_free() is given the correct size.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.22 -r1.23 src/sys/kern/subr_kmem.c

It is inconsistent that kmem_free doesn't count REDZONE_SIZE to decide
to use pool cache or not but kmem_alloc does.

enami.


Home | Main Index | Thread Index | Old Index