lkml.org 
[lkml]   [2012]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2012-12-17 17:01    [W:0.278 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site