public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Lustre: get rid of deprecated cpumask calls
@ 2015-03-02  6:01 green
  2015-03-02  6:01 ` [PATCH 1/2] staging/lustre/ptlrpc: Do not use deprecated cpus_* functions green
  2015-03-02  6:01 ` [PATCH 2/2] staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_ green
  0 siblings, 2 replies; 3+ messages in thread
From: green @ 2015-03-02  6:01 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel, Andreas Dilger
  Cc: Linux Kernel Mailing List, Oleg Drokin

From: Oleg Drokin <green@linuxhacker.ru>

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(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-02  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02  6:01 [PATCH 0/2] Lustre: get rid of deprecated cpumask calls green
2015-03-02  6:01 ` [PATCH 1/2] staging/lustre/ptlrpc: Do not use deprecated cpus_* functions green
2015-03-02  6:01 ` [PATCH 2/2] staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_ green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox