kmalloc

From: tushar korde (tushar_k5@rediffmail.com)
Date: Sun Mar 10 2002 - 12:22:27 EST


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 ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:14 EST