v1
2026-08-30
char/misc 改用 kmalloc · v1
将不需要 struct page 的页分配器调用改用 kmalloc/kvmalloc,减少物理连续大页分配,服务 memdesc 转换
原始补丁链接
子 Patch(4)
1/4
char: xilinx_hwicap: replace page allocator calls with k[mz]alloc()
hwicap_read() and hwicap_write() allocate temporary buffers used to pass the FPGA configuration data to and from userspace. These buffers can be allocated with kmalloc() as there’s nothing special ab
2/4
char: xillybus: replace __get_free_pages() with kmalloc()
fifo_init() allocates the buffers backing the software FIFO and endpoint_alloc() allocates the transfer buffers of a USB endpoint. These buffers can be allocated with kmalloc() as there’s nothing spe
3/4
misc: ibmvmc: replace get_zeroed_page() with kzalloc()
ibmvmc_init_crq_queue() allocates the CRQ message queue that is shared with the hypervisor. The queue is mapped for DMA and registered with the hypervisor by its DMA address. This buffer can be alloc
4/4
platform: goldfish: pipe: replace __get_free_page() with kmalloc()
goldfish_pipe_open() allocates the per-pipe command buffer and goldfish_pipe_device_init() allocates the buffers the device shares with the host. Both are passed to the host as physical addresses and