]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: switch from a huge hash table to an rbtree
authorJoe Thornber <ejt@redhat.com>
Mon, 6 Oct 2014 12:48:51 +0000 (13:48 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:26 +0000 (15:25 -0500)
commit5eba72ef482dbc32d0861c2c2d0c7d922bce14df
treed5154f9664cbbc13fa0c521086c04273667f45b4
parent1ceebfd1f1d3f3427d9df9cfe24725be0289ac6c
dm bufio: switch from a huge hash table to an rbtree

Converting over to using an rbtree eliminates a fixed 8MB allocation
from vmalloc space for the hash table.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c