mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-14 14:37:41 +00:00
pc_wifi_drv: implement kmem_cache_free_bulk
So far this dummy was only triggered on AX devices after the driver has been used for a few hours. Issue #4488.
This commit is contained in:
parent
481b4fde25
commit
3e45b8aace
repos/pc/src/lib/wifi
@ -668,14 +668,6 @@ void kmem_cache_destroy(struct kmem_cache * s)
|
||||
}
|
||||
|
||||
|
||||
#include <linux/slab.h>
|
||||
|
||||
void kmem_cache_free_bulk(struct kmem_cache * s,size_t size,void ** p)
|
||||
{
|
||||
lx_emul_trace_and_stop(__func__);
|
||||
}
|
||||
|
||||
|
||||
#include <linux/kmsg_dump.h>
|
||||
|
||||
void kmsg_dump(enum kmsg_dump_reason reason)
|
||||
|
@ -266,6 +266,16 @@ struct kmem_cache * kmem_cache_create_usercopy(const char * name,
|
||||
}
|
||||
|
||||
|
||||
void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
kmem_cache_free(s, p[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#include <linux/fs.h>
|
||||
|
||||
int register_filesystem(struct file_system_type * fs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user