From: Wang Shilong Date: Fri, 9 Aug 2013 05:25:36 +0000 (+0800) Subject: Btrfs: allocate prelim_ref with a slab allocater X-Git-Tag: v3.12-rc1~40^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9e9a6cbc6d25b89d8007e5a680319e07921ead8;p=pandora-kernel.git Btrfs: allocate prelim_ref with a slab allocater struct __prelim_ref is allocated and freed frequently when walking backref tree, using slab allocater can not only speed up allocating but also detect memory leaks. Signed-off-by: Wang Shilong Reviewed-by: Miao Xie Reviewed-by: Jan Schmidt Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed