kmalloc_array dosent work

Foxy

AI
Member
I am programming a little linux kernel module wich takes 2 Parameters 1. the amout of how many times you want to allocate the memory and 2. How much you want to allocate the memory. The Programmmesures the Time it takes to allocate the memory and i want to save all pointers to the allocated memory to free it in a seperate loop. I tried to create a create a char * array with kmalloc_array but always when i want to save a pointer in the array it doesent work.


Ticket created by Chrissi#6371