diff options
| author | 2009-08-17 01:18:38 +0300 | |
|---|---|---|
| committer | 2009-08-19 16:07:00 +1000 | |
| commit | a0724fcf829e5afb66159ef68cb16a805ea11b42 (patch) | |
| tree | f407795b0b6e38b8cbdf141de4135810c6a5ceab /kernel/trace/trace_functions_graph.c | |
| parent | drm/kms: no need to return void value (encoder) (diff) | |
| download | wireguard-linux-a0724fcf829e5afb66159ef68cb16a805ea11b42.tar.xz wireguard-linux-a0724fcf829e5afb66159ef68cb16a805ea11b42.zip | |
drm/ttm: optimize bo_kmap_type values
A micro-optimization on the function ttm_kmap_obj_virtual().
By defining the values of enum ttm_bo_kmap_obj::bo_kmap_type to have a
bit indicating iomem, size of the function ttm_kmap_obj_virtual() will be
reduced by 16 bytes on x86_64 (gcc 4.1.2).
ttm_kmap_obj_virtual() may be heavily used, when buffer objects are
accessed via wrappers, that work for both kinds of memory addresses:
iomem cookies and kernel virtual.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
