dummy_drv_video: don't reallocate object heap, create new buckets instead.
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 26 Mar 2012 06:12:27 +0000 (14:12 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 28 Sep 2012 13:05:14 +0000 (15:05 +0200)
commit375b0c3efbd2bb5205233067b921e95a2273af34
tree20ca4e0df7b36285db503062e63bc3ff99af0c49
parent210ab05e85b9bcb5682f147538931f9d676e06e2
dummy_drv_video: don't reallocate object heap, create new buckets instead.

When a heap needs to be expanded, don't reallocate the heap because objects
would be moved to a new address, while some threads would still rely on the
previous locations.

Initial patch from VA intel-driver and authored by Haihao Xiang.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
dummy_drv_video/object_heap.c
dummy_drv_video/object_heap.h