diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-03-08 11:09:27 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-03-08 11:09:27 +0000 |
commit | 14c5024db875e0a4104b0203f3d202eb3042230c (patch) | |
tree | 0660ccf0686b996b3960b8f531fb84bb7ef6bf3e /sys/cam/scsi | |
parent | 0e3bbe9197c60139af00420be96e1a690ba4987c (diff) | |
download | src-14c5024db875e0a4104b0203f3d202eb3042230c.tar.gz src-14c5024db875e0a4104b0203f3d202eb3042230c.zip |
Cleanup the LinuxKPI slab implementation.
Put large functions into linux_slab.c instead of declaring them static
inline.
Add support for more memory allocation wrappers like kmalloc_array()
and __vmalloc().
Make sure either the M_WAITOK or the M_NOWAIT flag is set and mask
away unused memory allocation flags before calling FreeBSD's malloc()
routine.
Move kmalloc_node() definition to slab.h where it belongs.
Implement support for the SLAB_DESTROY_BY_RCU feature when creating a
kmem_cache which basically means kmem_cache memory is freed using
call_rcu().
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=314905
Diffstat (limited to 'sys/cam/scsi')
0 files changed, 0 insertions, 0 deletions