[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Improve DMA transfers by increasing the buffer
From: |
Samuel Thibault |
Subject: |
Re: [Qemu-devel] [PATCH] Improve DMA transfers by increasing the buffer size. |
Date: |
Fri, 28 Mar 2008 11:05:17 +0100 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Aurelien Jarno, le Fri 28 Mar 2008 00:53:40 +0100, a écrit :
> > +#define IDE_DMA_BUF_SIZE 131072
>
> Wouldn't it be better to define this value in number of sectors? This
> would avoid a few divisions in the code, and anyway the code handling
> DMA transfers is working with a number of sectors, not a number of
> bytes.
Right.
Samuel