OSDN Git Service

firewire: Split the iso buffer out from fw_iso_context and avoid vmalloc.
authorKristian Høgsberg <krh@redhat.com>
Fri, 16 Feb 2007 22:34:38 +0000 (17:34 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:57 +0000 (22:02 +0100)
commit9aad8125389a7a2990dee72d7892e22330a945eb
tree2566a8985837b000990db7e16b17547d3747141b
parent6e2e8424d310507fa044649435114217826ed78a
firewire: Split the iso buffer out from fw_iso_context and avoid vmalloc.

This patch splits out the iso buffer so we can initialize it at mmap
time with the size provided in the mmap call.  Furthermore, allocate
the backing pages using alloc_page to avoid setting up kernel side
virtual memory mappings for the pages.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device-cdev.h
drivers/firewire/fw-iso.c
drivers/firewire/fw-ohci.c
drivers/firewire/fw-transaction.h