Whamcloud - gitweb
LU-6587 mem: refactor OBD_ALLOC_LARGE marco 94/14994/9
authorYang Sheng <yang.sheng@intel.com>
Fri, 12 Jun 2015 15:32:47 +0000 (23:32 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 Jun 2015 02:23:47 +0000 (02:23 +0000)
commit919b85d796f845ec3e6633702dda1639a3d86176
treef14b69f9d3ea9c88d5e3093d7b02e792f521d317
parent07660179a32649e54228da26e34674f48318cbd7
LU-6587 mem: refactor OBD_ALLOC_LARGE marco

Always try kmalloc first if that fails then retry
with vmalloc. Change checkpach.pl to indicate the
OBD_FREE_LARGE has deprecated. since it hasn't any
special meaning anymore and just using OBD_FREE
instead of.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: I44a002fb855956bb0c4bea0f328679a5f56e4d49
Reviewed-on: http://review.whamcloud.com/14994
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/scripts/checkpatch.pl
lustre/include/obd_support.h
lustre/mdd/mdd_dir.c