From: "孙世龙 sunshilong" <sunshilong369@gmail.com>
To: linux-mm@kvack.org
Subject: 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) by vmalloc() instead of kmalloc() to avoid the page allocation failure?
Date: Fri, 26 Jun 2020 16:17:03 +0800 [thread overview]
Message-ID: <CAAvDm6YzbsQc8N=+G-vLzPpWhMbxXyXiHWm1WJhmWzFub3JMpQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
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 hardware(i.e. DMA, PCI) by vmalloc() instead of
kmalloc() to avoid the page allocation failure.
Thank you for your attention to this matter.
[-- Attachment #2: Type: text/html, Size: 381 bytes --]
reply other threads:[~2020-06-26 8:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAvDm6YzbsQc8N=+G-vLzPpWhMbxXyXiHWm1WJhmWzFub3JMpQ@mail.gmail.com' \
--to=sunshilong369@gmail.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox