Searched hist:a2b83b59db365255461a50ff8fa5e5e4e92e4d51 (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_slab.c | diff a2b83b59db365255461a50ff8fa5e5e4e92e4d51 Mon Jul 05 02:18:14 CEST 2021 Vladimir Kondratyev <wulf@FreeBSD.org> LinuxKPI: Allow kmem_cache_free() to be called from critical sections
as it is required by i915kms driver from Linux kernel v 5.5. This is done with asynchronous freeing of requested memory areas from taskqueue thread. As memory to be freed is reused to store linked list entry, backing UMA zone item size is rounded up to pointer size.
While here, make struct linux_kmem_cache private to LKPI to reduce amount of BSD headers included by linux/slab.h and switch RCU code to usage of LKPI's linux_irq_work_tq taskqueue to avoid injection of current into system-wide taskqueue_fast thread context.
Submitted by: nc (initial version for drm-kmod) Reviewed by: manu, nc Differential revision: https://reviews.freebsd.org/D30760
|
H A D | linux_rcu.c | diff a2b83b59db365255461a50ff8fa5e5e4e92e4d51 Mon Jul 05 02:18:14 CEST 2021 Vladimir Kondratyev <wulf@FreeBSD.org> LinuxKPI: Allow kmem_cache_free() to be called from critical sections
as it is required by i915kms driver from Linux kernel v 5.5. This is done with asynchronous freeing of requested memory areas from taskqueue thread. As memory to be freed is reused to store linked list entry, backing UMA zone item size is rounded up to pointer size.
While here, make struct linux_kmem_cache private to LKPI to reduce amount of BSD headers included by linux/slab.h and switch RCU code to usage of LKPI's linux_irq_work_tq taskqueue to avoid injection of current into system-wide taskqueue_fast thread context.
Submitted by: nc (initial version for drm-kmod) Reviewed by: manu, nc Differential revision: https://reviews.freebsd.org/D30760
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | slab.h | diff a2b83b59db365255461a50ff8fa5e5e4e92e4d51 Mon Jul 05 02:18:14 CEST 2021 Vladimir Kondratyev <wulf@FreeBSD.org> LinuxKPI: Allow kmem_cache_free() to be called from critical sections
as it is required by i915kms driver from Linux kernel v 5.5. This is done with asynchronous freeing of requested memory areas from taskqueue thread. As memory to be freed is reused to store linked list entry, backing UMA zone item size is rounded up to pointer size.
While here, make struct linux_kmem_cache private to LKPI to reduce amount of BSD headers included by linux/slab.h and switch RCU code to usage of LKPI's linux_irq_work_tq taskqueue to avoid injection of current into system-wide taskqueue_fast thread context.
Submitted by: nc (initial version for drm-kmod) Reviewed by: manu, nc Differential revision: https://reviews.freebsd.org/D30760
|