Messages in this thread | | | Date | Mon, 17 Dec 2012 16:18:30 +0100 | From | Jens Axboe <> | Subject | Re: [PATCH 07/15] block,elevator: use new hashtable implementation |
| |
On 2012-12-17 16:01, Sasha Levin wrote: > Switch elevator to use the new hashtable implementation. This reduces the > amount of generic unrelated code in the elevator. > > This also removes the dymanic allocation of the hash table. The size > of the table is constant so there's no point in paying the price of an > extra dereference when accessing it. > > This patch depends on d9b482c ("hashtable: introduce a small and naive > hashtable") which was merged in v3.6.
It's a convenient cleanup. I will queue it up for 3.9, it's too late for 3.8 at this point.
-- Jens Axboe
| |