Skip to content

Lustre: get rid of deprecated cpumask calls

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging/lustre/ptlrpc: Do not use deprecated cpus_* functionsdrivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c drivers/staging/lustre/lustre/ptlrpc/service.c+7 -100 replies
2/2staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_drivers/staging/lustre/lustre/libcfs/linux/linux-cpu.c+39 -390 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/2] Lustre: get rid of deprecated cpumask calls

From: Oleg Drokin <[email protected]>

A recent crash report with CONFIG_CPUMASK_OFFSTACK enabled set off a chain of emails through which I learned that cpus_* functions are deprecated and should not be really used to operate on cpumasks.

These two patches do just that, replacing cpus_* and cpu_* calls with cpumask_ equivalents, getting rid of a sizable number or NR_CPUS references

please consider.

Oleg Drokin (2):
staging/lustre/ptlrpc: Do not use deprecated cpus_* functions staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_

 .../staging/lustre/lustre/libcfs/linux/linux-cpu.c | 78 +++++++++++-----------
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |  8 +--
 drivers/staging/lustre/lustre/ptlrpc/service.c     |  9 +--
 3 files changed, 46 insertions(+), 49 deletions(-)
Signature · 1 line
2.1.0