Besides kmalloc() is more efficient, are there some potential problems that I should be aware of if I allocate the memory which doesn't have any relation to peripheral hardwares(i.e. DMA,PCI,serial port and etc) by vmalloc() instead of kmalloc() to avoid the page allocation failure?
June 26, 2020
8:27 a.m.
Hi, list Besides kmalloc() is more efficient, are there some potential problems that I should be aware of if I allocate the memory which doesn't have any relation to peripheral hardwares(i.e. DMA,PCI,serial port and etc) by vmalloc() instead of kmalloc() to avoid the page allocation failure(caused by kmalloc() while there are too much memory fragment)? Thank you for your attention to this matter.
2240
Age (days ago)
2240
Last active (days ago)
0 comments
1 participants
participants (1)
-
孙世龙 sunshilong