On Tue, Apr 28, 2009 at 02:56:15PM -0500, Anthony Liguori wrote:
> Michael S. Tsirkin wrote:
>> So to map vq 0 to vector 0, vq 1 to vector 1 and vq 2 to vector 2 the driver
>> would do:
>>
>> struct virtio_interrupt_mapping mapping[3] = { {0, 0}, {1, 1}, {2, 2} };
>> vec = map_vqs_to_interrupt(dev
Michael S. Tsirkin wrote:
> So to map vq 0 to vector 0, vq 1 to vector 1 and vq 2 to vector 2 the driver
> would do:
>
> struct virtio_interrupt_mapping mapping[3] = { {0, 0}, {1, 1}, {2, 2} };
> vec = map_vqs_to_interrupt(dev, mapping, 3);
> if (vec) {
> error handling
> }
>
> and then find_vq
On Tue, Apr 28, 2009 at 08:51:08PM +0300, Avi Kivity wrote:
> Michael S. Tsirkin wrote:
>> This does not work for MSIX - in linux, you must map all MSI-X entries
>> to interrupt vectors upfront.
>>
>
> What? that's very inflexible.
>
> Can you point me at the code?
See pci_enable_msix in inclu
Michael S. Tsirkin wrote:
> This does not work for MSIX - in linux, you must map all MSI-X entries
> to interrupt vectors upfront.
>
What? that's very inflexible.
Can you point me at the code?
> So what I see is transports providing something like:
>
> struct virtio_interrupt_mapping {
>
On Tue, Apr 28, 2009 at 09:47:14AM +0300, Avi Kivity wrote:
> Michael S. Tsirkin wrote:
>>> That saves us the new API (at the expense of a lot more code, but
>>> with added flexibility).
>>>
>>
>> So we'll probably need to rename request_vqs to request_vectors,
>> but we probably still need
This is an extra patch which reduces the overhead of IO tracking but
increases the size of struct page_cgroup.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
include/linux/biotrack.h|5 -
include/linux/page_cgroup.h | 26
mm/biotrac
With this patch, dm-ioband can work with the blkio-cgroup.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
drivers/md/dm-ioband-type.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
Index: linux-2.6.30-rc3-git3/drivers/md/dm-ioband
This patch contains several hooks that let the blkio-cgroup framework to know
which blkio-cgroup is the owner of a page before starting I/O against the page.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
fs/buffer.c |2 ++
fs/direct-io.c
The body of bio-cgroup.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
include/linux/biotrack.h | 97 +
include/linux/cgroup_subsys.h |6
include/linux/page_cgroup.h | 23 +++
init/Kconfig | 13 +
mm/Make
This patch refactors io_context initialization.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
block/blk-ioc.c | 30 +-
include/linux/iocontext.h |1 +
2 files changed, 18 insertions(+), 13 deletions(-)
Ind
This patch makes the page_cgroup framework be able to be used even if
the compile option of the cgroup memory controller is off.
So blkio-cgroup can use this framework without the memory controller.
Based on 2.6.30-rc3-git3
Signed-off-by: Hirokazu Takahashi
Signed-off-by: Ryo Tsuruta
---
inclu
Hi all,
This is a new release of blkio-cgroup which provides an IO tracking
mechanism. You can also download this series of patches from
http://people.valinux.co.jp/~ryov/blkio-cgroup/
Changes from the previous release
=
- bio-cgroup renamed to blkio-cgroup.
- Use
12 matches
Mail list logo