Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Details
- Reviewers
bz manu dumbbell emaste - Group Reviewers
linuxkpi - Commits
- rGd8394e282f47: LinuxKPI: Add kvrealloc to linux/slab.h
rGab6e1167909b: LinuxKPI: Add kvrealloc to linux/slab.h
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/compat/linuxkpi/common/include/linux/slab.h | ||
---|---|---|
198 | This should really use a kvrealloc (which we don't have yet). Alternatively please leave a comment /* XXX-BZ realloc */ here. |
sys/compat/linuxkpi/common/include/linux/slab.h | ||
---|---|---|
198 | In particular the comment at https://reviews.freebsd.org/D45181#1031077. |
sys/compat/linuxkpi/common/include/linux/slab.h | ||
---|---|---|
198 | Why do we need re-implementation of kv* functions? |
sys/compat/linuxkpi/common/include/linux/slab.h | ||
---|---|---|
198 | After glance over code kvmalloc appeared to be a different thing. It tries to allocate pages contiguously and fall-backs to noncontig allocations |