I know that kmalloc allocates contiguous memory in physical memory as well as virtual memory, vmalloc allocates contiguous memory in virtual memory but it doesn't guarantee that memory allocated in physical memory will be contiguous.
Therefore, it seems that kmalloc is much more better than vmalloc. I don't know when we use vmalloc, kmalloc? Can someone give me some examples using vmalloc in reality?