]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite973b5f489d4a26b4e459b747939ab5b7fde4a5f
tree2566a8985837b000990db7e16b17547d3747141b
parent2b9e4691cc088e1e8a393123e9c042f016997041
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