lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon,  7 Dec 2015 09:49:40 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	linux-kernel@...r.kernel.org
Cc:	Rusty Russell <rusty@...tcorp.com.au>,
	Peter Zijlstra <peterz@...radead.org>,
	Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
	Xunlei Pang <xlpang@...hat.com>,
	Rik van Riel <riel@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 0/4] [RFC] cpumask: Robustify the var-cpumask allocation APIs

Hi Rusty,

this is the cpumask API robustification change we talked about in this
lkml thread:

  [PATCH] sched/core: Clear the root_domain cpumasks in init_rootdomain()

The idea is to first migrate all users of alloc_cpumask_var() to
zalloc_cpumask_var(), then remove the old API.

We still keep __alloc_cpumask_var_node(), for users who absolutely want
to micro-manage their cpumask allocations.

I also addressed a related naming ambiguity in alloc_bootmem_cpumask_var().

Lightly tested.

( If you like this series I can merge it via -tip, or you can pick it up,
  your call! )

Thanks,

	Ingo

========>


Ingo Molnar (4):
  cpumask: Migrate 'alloc_cpumask_var()' users to 'zalloc_cpumask_var()'
  cpumask: Remove 'alloc_cpumask_var()'
  cpumask: Rename 'alloc_bootmem_cpumask_var()' to 'zalloc_bootmem_cpumask_var()'
  cpumask: Rename 'alloc_cpumask_var_node()' to '__alloc_cpumask_var_node()'

 arch/ia64/kernel/smp.c                      |  2 +-
 arch/mips/kernel/mips-mt-fpaff.c            |  6 +++---
 arch/powerpc/kernel/irq.c                   |  2 +-
 arch/powerpc/kernel/rtas.c                  |  4 ++--
 arch/powerpc/kernel/smp.c                   |  2 +-
 arch/powerpc/mm/numa.c                      |  2 +-
 arch/powerpc/platforms/powernv/subcore.c    |  2 +-
 arch/powerpc/platforms/pseries/smp.c        |  2 +-
 arch/powerpc/platforms/pseries/suspend.c    |  2 +-
 arch/x86/kernel/apic/vector.c               |  4 ++--
 arch/x86/kernel/cpu/common.c                |  8 +++----
 arch/x86/kernel/cpu/mcheck/mce-inject.c     |  2 +-
 arch/x86/kernel/smp.c                       |  2 +-
 arch/x86/mm/mmio-mod.c                      |  2 +-
 arch/x86/mm/numa.c                          |  2 +-
 arch/x86/platform/uv/uv_nmi.c               |  2 +-
 arch/x86/xen/mmu.c                          |  2 +-
 arch/x86/xen/smp.c                          |  2 +-
 block/blk-mq-cpumap.c                       |  2 +-
 crypto/pcrypt.c                             |  4 ++--
 drivers/acpi/acpi_pad.c                     |  2 +-
 drivers/acpi/processor_throttling.c         |  2 +-
 drivers/base/cpu.c                          |  2 +-
 drivers/cpufreq/cpufreq.c                   |  2 +-
 drivers/crypto/n2_core.c                    |  2 +-
 drivers/firmware/dcdbas.c                   |  2 +-
 drivers/hwmon/dell-smm-hwmon.c              |  2 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c |  2 +-
 drivers/pci/host/pci-xgene-msi.c            |  2 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c         |  2 +-
 drivers/virtio/virtio_pci_common.c          |  2 +-
 include/linux/cpumask.h                     | 20 ++++++-----------
 kernel/compat.c                             |  4 ++--
 kernel/cpu.c                                |  2 +-
 kernel/cpuset.c                             | 16 +++++++-------
 kernel/irq/irqdesc.c                        |  2 +-
 kernel/irq/manage.c                         |  6 +++---
 kernel/irq/proc.c                           |  4 ++--
 kernel/padata.c                             | 10 ++++-----
 kernel/profile.c                            |  4 ++--
 kernel/rcu/tree_plugin.h                    |  2 +-
 kernel/sched/core.c                         | 16 +++++++-------
 kernel/smpboot.c                            |  4 ++--
 kernel/taskstats.c                          |  4 ++--
 kernel/time/tick-sched.c                    |  6 +++---
 kernel/torture.c                            |  2 +-
 kernel/trace/ring_buffer.c                  |  2 +-
 kernel/trace/trace.c                        | 10 ++++-----
 kernel/workqueue.c                          |  4 ++--
 lib/cpumask.c                               | 33 ++++++++++++++---------------
 mm/vmstat.c                                 |  2 +-
 net/core/flow.c                             |  2 +-
 net/core/net-sysfs.c                        |  4 ++--
 net/core/sysctl_net_core.c                  |  2 +-
 54 files changed, 116 insertions(+), 123 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ