[PATCH 00/10] staging: lustre: remove OBD_SLAB_ALLOC/FREE and friends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches replace OBD_SLAB_ALLOC/FREE and friends with direct use of
kmem_cache_alloc/free.

Mike Rapoport (10):
  staging: lustre: remove unused OBD_SLAB_CPT_ALLOC* macros
  staging: lustre: replace OBDO_ALLOC with kmem_cache_alloc
  staging: lustre: replace OBDO_FREE with kmem_cache_free
  staging: lustre: remove unused OBDO_{ALLOC,FREE} macros
  staging: lustre: replace OBD_SLAB_ALLOC_PTR with kmem_cache_alloc
  staging: lustre: replace OBD_SLAB_ALLOC_PTR_GFP with kmem_cache_alloc
  staging: lustre: replace OBD_SLAB_ALLOC_GFP with kmem_cache_alloc
  staging: lustre: replace OBD_SLAB_FREE_PTR with kmem_cache_free
  staging: lustre: replace OBD_SLAB_FREE with kmem_cache_free
  staging: lustre: remove unused OBD_SLAB_ALLOC* and OBD_SLAB_FREE* macros

 drivers/staging/lustre/lustre/include/obd_class.h  | 10 -----
 .../staging/lustre/lustre/include/obd_support.h    | 45 ----------------------
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 20 +++++-----
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c   |  4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     |  4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c |  8 ++--
 drivers/staging/lustre/lustre/llite/file.c         |  8 ++--
 drivers/staging/lustre/lustre/llite/llite_close.c  |  4 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |  5 ++-
 drivers/staging/lustre/lustre/llite/namei.c        |  4 +-
 drivers/staging/lustre/lustre/llite/remote_perm.c  | 11 ++----
 drivers/staging/lustre/lustre/llite/super25.c      |  4 +-
 drivers/staging/lustre/lustre/llite/vvp_dev.c      |  8 ++--
 drivers/staging/lustre/lustre/llite/xattr_cache.c  |  6 +--
 drivers/staging/lustre/lustre/lov/lov_dev.c        | 12 +++---
 drivers/staging/lustre/lustre/lov/lov_ea.c         |  7 ++--
 drivers/staging/lustre/lustre/lov/lov_lock.c       | 16 ++++----
 drivers/staging/lustre/lustre/lov/lov_object.c     |  4 +-
 drivers/staging/lustre/lustre/lov/lov_request.c    | 15 +++++---
 drivers/staging/lustre/lustre/lov/lovsub_dev.c     |  4 +-
 drivers/staging/lustre/lustre/lov/lovsub_lock.c    |  4 +-
 drivers/staging/lustre/lustre/lov/lovsub_object.c  |  4 +-
 drivers/staging/lustre/lustre/obdclass/cl_lock.c   |  4 +-
 drivers/staging/lustre/lustre/obdclass/cl_object.c |  6 +--
 drivers/staging/lustre/lustre/obdclass/genops.c    |  4 +-
 .../staging/lustre/lustre/obdecho/echo_client.c    | 16 ++++----
 drivers/staging/lustre/lustre/osc/osc_cache.c      |  4 +-
 drivers/staging/lustre/lustre/osc/osc_dev.c        |  8 ++--
 drivers/staging/lustre/lustre/osc/osc_io.c         |  4 +-
 drivers/staging/lustre/lustre/osc/osc_lock.c       |  4 +-
 drivers/staging/lustre/lustre/osc/osc_object.c     |  4 +-
 drivers/staging/lustre/lustre/osc/osc_quota.c      |  8 ++--
 drivers/staging/lustre/lustre/osc/osc_request.c    | 10 ++---
 drivers/staging/lustre/lustre/ptlrpc/client.c      |  4 +-
 34 files changed, 114 insertions(+), 169 deletions(-)

-- 
2.1.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux