diff options
author | Thomas Hellstrom <[email protected]> | 2011-10-12 15:27:10 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-10-14 09:53:19 +0200 |
commit | 5dddeb7776c62b6218add3a236551cde876b1cf0 (patch) | |
tree | 0b1e4779aa633b397e87f50e465542c8f56d7ea7 /docs/banner.html | |
parent | 83d57635bc7b8f837add26322da04e3d93da2c55 (diff) |
winsys/svga: Rework buffer allocation to make it more robust v2.
Don't allow any "CPU" buffers to be allocated by the pb_fenced
buffer manager, since we can't protect against failures during
buffer validation.
Also, add an extra slab buffer manager to allocate buffers from
the kernel if there is a failure to allocate from our big buffer pool.
The reason we use a slab manager for this, is to avoid allocating
many very small buffers from the kernel.
v2: Increased VMW_MAX_BUFFER_SIZE and fixed some comments.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'docs/banner.html')
0 files changed, 0 insertions, 0 deletions