From: Bernhard Walle <bwalle@suse.de>
To: linux-scsi@vger.kernel.org
Subject: GFP_DMA in sd_revalidate_disk
Date: Fri, 23 Feb 2007 17:51:14 +0100 [thread overview]
Message-ID: <20070223165114.GA29468@strauss.suse.de> (raw)
Hello,
is GFP_DMA really needed in sd_revalidate_disk() in every circumstances?
That's the code:
buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA);
if (!buffer) {
printk(KERN_WARNING "(sd_revalidate_disk:) Memory allocation "
"failure.\n");
goto out;
}
Or should could the check (sdp->host->unchecked_isa_dma ? __GFP_DMA : 0)
applied here, too?
Thanks!
Regards,
Bernhard
reply other threads:[~2007-02-23 16:51 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=20070223165114.GA29468@strauss.suse.de \
--to=bwalle@suse.de \
--cc=linux-scsi@vger.kernel.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