linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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()?
@ 2020-06-26 12:40 孙世龙 sunshilong
  0 siblings, 0 replies; only message in thread
From: 孙世龙 sunshilong @ 2020-06-26 12:40 UTC (permalink / raw)
  To: linux-kernel

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 many memory fragments?

Thank you for your attention to this matter.
Best Regards.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-26 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 12:40 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()? 孙世龙 sunshilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).