Whamcloud - gitweb
LU-56 libcfs: NUMA allocator and code cleanup
authorLiang Zhen <liang@whamcloud.com>
Thu, 12 Apr 2012 19:08:49 +0000 (03:08 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 May 2012 11:33:04 +0000 (07:33 -0400)
commit3a92c850b094019e556577ec6cab5907538dcbf5
tree951662b4762e745865ad062d55902077c26db605
parent33db53607dac6ee63755358147526c16843ac9c8
LU-56 libcfs: NUMA allocator and code cleanup

This patch covered a few things:
- Implementation of NUMA allocaters based on concept of CPU
  partition
- Add macros of NUMA allocators for both libcfs and OBD
- cleanup OBD allocaters
- A minor fix for llite, it's using GFP flag which should be
  CFS_ALLOC flag

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I5441a504d5df217b59b5db59e37ddb4855e7ae49
Reviewed-on: http://review.whamcloud.com/2523
Tested-by: Hudson
Reviewed-by: Doug Oucharek <doug@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_private.h
libcfs/include/libcfs/linux/linux-mem.h
libcfs/include/libcfs/user-mem.h
libcfs/libcfs/linux/linux-mem.c
lustre/include/obd_support.h
lustre/llite/remote_perm.c
lustre/osc/osc_quota.c
lustre/ptlrpc/recov_thread.c
lustre/quota/quota_context.c