diff options
| author | Jonathan Corbet <[email protected]> | 2011-07-14 18:10:44 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2011-09-03 10:57:33 -0300 |
| commit | 297875b6a1f3910c883e4b00bb9bc3e6c3aa6ab7 (patch) | |
| tree | f9319522a8ffaa66312ebfbee37e35c54639eb5c /tools/perf/scripts/python/netdev-times.py | |
| parent | 77b1e2fbbdfa0ee5cdf6c928b711493a3738468e (diff) | |
[media] videobuf2: Do not unconditionally map S/G buffers into kernel space
The one in-tree videobuf2-dma-sg driver (mmp-camera) has no need for a
kernel-space mapping of the buffers; one suspects that most other drivers
would not either. The videobuf2-dma-sg module does the right thing if
buf->vaddr == NULL - it maps the buffer on demand if somebody needs it. So
let's not map the buffer at allocation time; that will save a little CPU
time and a lot of address space in the vmalloc range.
Signed-off-by: Jonathan Corbet <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions