commit | dc0deca2b89bea896e8eb8133961cec68c4ba8b9 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Feb 08 20:59:31 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Feb 08 20:59:31 2007 +0100 |
tree | 9999d351f9fa2e02f994cf820ec0f5c4439c99cc | |
parent | 6ab9e267d0a48de95c86875ba93fe17203163bb0 [diff] |
[PATCH] SG IO engine: reduce allocations and memory leaks We currently do 3 allocations and frees in the queued getevents handler, we can easily reduce that to 0 by statically allocating the buffers at init time. The cleanup handler didn't free any of the currently allocated structures, fix that up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>