Skip to contentSkip to conversation

kmalloc

DISCUSSION tushar korde 1 participant 1 message Mar 10, 2002

lore
Share & tools
lore
#0 lore raw

sir,
when i use kmalloc and kfree in a code the segmentation error
comes
(though compilation was successful) but when i use vmalloc & vfree the same code runs fine.why?

my kernel version is 2.4.2-2
i included mm/slab.c & others for kmalloc
how to use kmalloc ?