Re: [PATCH 07/15] block,elevator: use new hashtable implementation

From: Jens Axboe
Date: Mon Dec 17 2012 - 10:18:24 EST

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at