Skip to content

staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc

Amitoj Kaur Chawla outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging: lustre: lclient: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/lclient/lcommon_cl.c+5 -50 replies
2/8staging: lustre: obdclass: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/obdclass/cl_lock.c drivers/staging/lustre/lustre/obdclass/cl_object.c drivers/staging/lustre/lustre/obdclass/genops.c+3 -30 replies
3/8staging: lustre: lov: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/lov/lov_dev.c drivers/staging/lustre/lustre/lov/lov_ea.c drivers/staging/lustre/lustre/lov/lov_lock.c +5 more+15 -180 replies
4/8staging: lustre: obdecho: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/obdecho/echo_client.c+4 -40 replies
5/8staging: lustre: ptlrpc: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/ptlrpc/client.c+1 -10 replies
6/8staging: lustre: osc: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/osc/osc_cache.c drivers/staging/lustre/lustre/osc/osc_dev.c drivers/staging/lustre/lustre/osc/osc_io.c +4 more+9 -90 replies
7/8staging: lustre: ldlm: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/ldlm/ldlm_extent.c drivers/staging/lustre/lustre/ldlm/ldlm_lock.c drivers/staging/lustre/lustre/ldlm/ldlm_resource.c+3 -30 replies
8/8staging: lustre: llite: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/staging/lustre/lustre/llite/file.c drivers/staging/lustre/lustre/llite/llite_close.c drivers/staging/lustre/lustre/llite/llite_lib.c +5 more+11 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc

This patchset replaces kmem_cache_alloc with kmem_cache_zalloc.

The Coccinelle semantic patch used to make this change is as follows:
// <smpl>
@@
expression e,f;
@@
- kmem_cache_alloc(e, f |__GFP_ZERO)
+ kmem_cache_zalloc(e, f)
// </smpl>

Amitoj Kaur Chawla (8):
staging: lustre: lclient: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: obdclass: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: lov: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: obdecho: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: ptlrpc: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: osc: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: ldlm: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: llite: Replace kmem_cache_alloc with
kmem_cache_zalloc

 drivers/staging/lustre/lustre/lclient/lcommon_cl.c  | 10 +++++-----
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c    |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c      |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c  |  2 +-
 drivers/staging/lustre/lustre/llite/file.c          |  4 ++--
 drivers/staging/lustre/lustre/llite/llite_close.c   |  2 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c     |  3 +--
 drivers/staging/lustre/lustre/llite/namei.c         |  2 +-
 drivers/staging/lustre/lustre/llite/remote_perm.c   |  4 ++--
 drivers/staging/lustre/lustre/llite/super25.c       |  2 +-
 drivers/staging/lustre/lustre/llite/vvp_dev.c       |  4 ++--
 drivers/staging/lustre/lustre/llite/xattr_cache.c   |  2 +-
 drivers/staging/lustre/lustre/lov/lov_dev.c         |  6 +++---
 drivers/staging/lustre/lustre/lov/lov_ea.c          |  2 +-
 drivers/staging/lustre/lustre/lov/lov_lock.c        |  6 +++---
 drivers/staging/lustre/lustre/lov/lov_object.c      |  2 +-
 drivers/staging/lustre/lustre/lov/lov_request.c     | 11 ++++-------
 drivers/staging/lustre/lustre/lov/lovsub_dev.c      |  2 +-
 drivers/staging/lustre/lustre/lov/lovsub_lock.c     |  2 +-
 drivers/staging/lustre/lustre/lov/lovsub_object.c   |  2 +-
 drivers/staging/lustre/lustre/obdclass/cl_lock.c    |  2 +-
 drivers/staging/lustre/lustre/obdclass/cl_object.c  |  2 +-
 drivers/staging/lustre/lustre/obdclass/genops.c     |  2 +-
 drivers/staging/lustre/lustre/obdecho/echo_client.c |  8 ++++----
 drivers/staging/lustre/lustre/osc/osc_cache.c       |  2 +-
 drivers/staging/lustre/lustre/osc/osc_dev.c         |  4 ++--
 drivers/staging/lustre/lustre/osc/osc_io.c          |  2 +-
 drivers/staging/lustre/lustre/osc/osc_lock.c        |  2 +-
 drivers/staging/lustre/lustre/osc/osc_object.c      |  2 +-
 drivers/staging/lustre/lustre/osc/osc_quota.c       |  2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c     |  4 ++--
 drivers/staging/lustre/lustre/ptlrpc/client.c       |  2 +-
 32 files changed, 51 insertions(+), 55 deletions(-)
Signature · 1 line
1.9.1