Whamcloud - gitweb
LU-7982 libcfs: memory allocation without CPT for binheap 17/19317/5
authorLi Xi <lixi@ddn.com>
Tue, 21 Jul 2015 09:12:16 +0000 (17:12 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 Apr 2016 04:23:42 +0000 (04:23 +0000)
commitcbe5b45a1d157c7345bd1352c257bee22ad8d085
treef8f7622c7428dac803476cfca945783a26aa47f7
parent14ba724a62b55b27f2a9c9611e15879207d78b43
LU-7982 libcfs: memory allocation without CPT for binheap

In order to use heap in cases which are not tied to a specific CPT,
memory allocation should support normal memory allocation. This
patch adds support for it.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I1daeb76b708489b3adf09251fe1fbf2ddeab35aa
Reviewed-on: http://review.whamcloud.com/19317
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Nikitas Angelinas <nikitasangelinas@gmail.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
libcfs/libcfs/heap.c