]> 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)
commitb484b2efbfbb48f8ccbef3a1f5a1d6e809b056f4
treed5154f9664cbbc13fa0c521086c04273667f45b4
parent0a80608dbe751d716ea4764065783bd16546e080
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