From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: konrad@kernel.org, linux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org, ak@linux.intel.com,
akataria@vmware.com
Subject: Re: [PATCH] swiotlb: enlarge iotlb buffer on demand
Date: Mon, 2 Aug 2010 09:40:08 -0400 [thread overview]
Message-ID: <201008020940.09552.konrad.wilk@oracle.com> (raw)
In-Reply-To: <20100801120224F.fujita.tomonori@lab.ntt.co.jp>
On Saturday 31 July 2010 23:03:11 FUJITA Tomonori wrote:
> On Fri, 30 Jul 2010 21:07:06 -0400
>
> Konrad Rzeszutek Wilk <konrad@kernel.org> wrote:
> > I took your patch and was trying to fit it over the
> > stable/swiotlb-0.8.4 branch and when I did so a found couple of things..
> >
> > > > @@ -215,14 +222,14 @@ swiotlb_late_init_with_default_size(size_t
> > > > default_size) bytes = io_tlb_nslabs << IO_TLB_SHIFT;
> >
> > You should also initialize the __io_tlb_start array first:
>
> Yeah, I know. As I wrote, this patchset breaks IA64.
>
> I really merge to swiotlb's two memory allocator mechanisms
> (swiotlb_init_with_default_size and
> swiotlb_late_init_with_default_size). I need to look at the x86 memory
> boot code after memblock surgery finishes.
<nods>
>
> And as you know, I've not fixed the error path and swiotlb_free. I'll
> do later if people are not against swiotlb dynamic allocation.
It looks to me like it would be a good patch.
I am curious about the handling of the -ENOMEM stage. Naturally we would
return an error the device - are the most common ones (ahci, r8169,
ata_piix - those that are DMA_32) equipped to deal with unavailable memory?
next prev parent reply other threads:[~2010-08-02 13:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-30 15:37 [PATCH] swiotlb: enlarge iotlb buffer on demand FUJITA Tomonori
2010-07-30 20:27 ` Konrad Rzeszutek Wilk
2010-07-30 20:27 ` Konrad Rzeszutek Wilk
2010-07-31 1:07 ` Konrad Rzeszutek Wilk
2010-08-01 3:03 ` FUJITA Tomonori
2010-08-02 13:40 ` Konrad Rzeszutek Wilk [this message]
2010-08-02 14:56 ` FUJITA Tomonori
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=201008020940.09552.konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=ak@linux.intel.com \
--cc=akataria@vmware.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=konrad@kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@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