mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "LKML" <linux-kernel@vger.kernel.org>, Mike Travis <travis@sgi.com>
Subject: [PULL] cpumask complete deprecation
Date: Mon, 20 Apr 2015 22:10:23 +0930	[thread overview]
Message-ID: <87oamjotvs.fsf@rustcorp.com.au> (raw)

The following changes since commit 6587457b4b3d663b237a0f95ddf6e67d1828c8ea:

  Merge tag 'dma-buf-for-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits/dma-buf (2015-03-04 09:59:51 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/cpumask-next-for-linus

for you to fetch changes up to e4afa120c98252e44390067c3a6cc775cde30659:

  cpumask: remove __first_cpu / __next_cpu (2015-04-19 14:35:32 +0930)

----------------------------------------------------------------
This is the final removal (after several years!) of the obsolete cpus_*
functions, prompted by their mis-use in staging.

With these function removed, all cpu functions should only iterate to
nr_cpu_ids, so we finally only allocate that many bits when cpumasks
are allocated offstack.

Thanks,
Rusty.

----------------------------------------------------------------
Oleg Drokin (3):
      staging/lustre/ptlrpc: Do not use deprecated cpus_* functions
      staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_
      staging/lustre/o2iblnd: Don't use cpus_weight

Rasmus Villemoes (1):
      linux/cpumask.h: add typechecking to cpumask_test_cpu

Rusty Russell (21):
      cpumask: fix cpu-hotplug documentation
      ia64: Use for_each_cpu_and() and cpumask_any_and() instead of temp var.
      drivers: fix up obsolete cpu function usage.
      ia64: fix up obsolete cpu function usage.
      um: fix up obsolete cpu function usage.
      x86: fix up obsolete cpu function usage.
      mips: fix up obsolete cpu function usage.
      arm64: fix up obsolete cpu function usage.
      tile: fix up obsolete cpu function usage.
      parisc: fix up obsolete cpu function usage.
      blackfin: fix up obsolete cpu function usage.
      CPU_MASK_ALL/CPU_MASK_NONE: remove from deprecated region.
      powerpc: fix deprecated CPU_MASK_CPU0 usage.
      ia64: remove deprecated cpus_ usage.
      x86: fix more deprecated cpu function usage.
      mips: fix obsolete cpumask_of_cpu usage.
      cpumask: remove deprecated functions.
      Fix weird uses of num_online_cpus().
      cpumask: only allocate nr_cpumask_bits.
      cpumask: resurrect CPU_MASK_CPU0
      cpumask: remove __first_cpu / __next_cpu

 Documentation/cpu-hotplug.txt                      |   2 +-
 arch/arm64/kernel/smp.c                            |   2 +-
 arch/blackfin/mach-bf561/smp.c                     |   2 +-
 arch/ia64/include/asm/acpi.h                       |   6 +-
 arch/ia64/kernel/acpi.c                            |   2 +-
 arch/ia64/kernel/iosapic.c                         |   2 +-
 arch/ia64/kernel/irq_ia64.c                        |  36 ++---
 arch/ia64/kernel/mca.c                             |  10 +-
 arch/ia64/kernel/msi_ia64.c                        |  10 +-
 arch/ia64/kernel/numa.c                            |  10 +-
 arch/ia64/kernel/salinfo.c                         |  24 +--
 arch/ia64/kernel/setup.c                           |  11 +-
 arch/ia64/kernel/smp.c                             |   6 +-
 arch/ia64/kernel/smpboot.c                         |  42 ++---
 arch/ia64/kernel/topology.c                        |   6 +-
 arch/m32r/kernel/smpboot.c                         |   2 +-
 arch/mips/bcm63xx/irq.c                            |   4 +-
 arch/mips/cavium-octeon/smp.c                      |   4 +-
 arch/mips/include/asm/smp.h                        |   2 +-
 arch/mips/kernel/crash.c                           |   8 +-
 arch/mips/kernel/mips-mt-fpaff.c                   |   4 +-
 arch/mips/kernel/process.c                         |   2 +-
 arch/mips/kernel/smp-bmips.c                       |   2 +-
 arch/mips/kernel/smp-cmp.c                         |   4 +-
 arch/mips/kernel/smp-cps.c                         |   4 +-
 arch/mips/kernel/smp-mt.c                          |   4 +-
 arch/mips/kernel/smp.c                             |  26 +--
 arch/mips/kernel/traps.c                           |   6 +-
 arch/mips/loongson/loongson-3/numa.c               |   4 +-
 arch/mips/loongson/loongson-3/smp.c                |   2 +-
 arch/mips/paravirt/paravirt-smp.c                  |   2 +-
 arch/mips/sgi-ip27/ip27-init.c                     |   2 +-
 arch/mips/sgi-ip27/ip27-klnuma.c                   |  10 +-
 arch/mips/sgi-ip27/ip27-memory.c                   |   2 +-
 arch/parisc/kernel/irq.c                           |   4 +-
 arch/powerpc/include/asm/cputhreads.h              |   2 +-
 arch/sh/include/asm/mmu_context.h                  |   2 +-
 arch/sh/kernel/smp.c                               |   6 +-
 arch/sparc/kernel/time_32.c                        |   4 +-
 arch/tile/kernel/setup.c                           |   2 +-
 arch/um/kernel/smp.c                               |  14 +-
 arch/x86/kernel/apic/x2apic_cluster.c              |  12 +-
 arch/x86/kernel/irq.c                              |   4 +-
 arch/x86/platform/uv/tlb_uv.c                      |   6 +-
 drivers/clocksource/dw_apb_timer.c                 |   3 +-
 drivers/cpuidle/coupled.c                          |   6 +-
 drivers/crypto/n2_core.c                           |   4 +-
 drivers/irqchip/irq-gic-v3.c                       |   2 +-
 drivers/irqchip/irq-mips-gic.c                     |   6 +-
 drivers/net/ethernet/tile/tilegx.c                 |   4 +-
 drivers/scsi/hpsa.c                                |   6 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |   4 +-
 .../staging/lustre/lustre/libcfs/linux/linux-cpu.c | 102 ++++++------
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |   8 +-
 drivers/staging/lustre/lustre/ptlrpc/service.c     |   9 +-
 include/linux/cpumask.h                            | 176 ++-------------------
 lib/Kconfig                                        |   4 -
 lib/cpumask.c                                      |  28 ----
 58 files changed, 248 insertions(+), 435 deletions(-)

                 reply	other threads:[~2015-04-20 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oamjotvs.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=travis@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome