[PULL] modules-next

From: Rusty Russell
Date: Mon Jun 29 2015 - 22:47:44 EST


The following changes since commit a8b253b9f253c05e5e10b829b8d1fb24556f4b56:

Merge tag 'pinctrl-v4.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl (2015-05-25 15:15:54 -0700)

are available in the git repository at:

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

for you to fetch changes up to 20bdc2cfdbc484777b30b96fcdbb8994038f3ce1:

modules: only use mod->param_lock if CONFIG_MODULES (2015-06-28 14:50:12 +0930)

----------------------------------------------------------------
Minor merge needed, due to function move.

Main excitement here is Peter Zijlstra's lockless rbtree optimization to
speed module address lookup. He found some abusers of the module lock
doing that too.

A little bit of parameter work here too; including Dan Streetman's breaking
up the big param mutex so writing a parameter can load another module (yeah,
really). Unfortunately that broke the usual suspects, !CONFIG_MODULES and
!CONFIG_SYSFS, so those fixes were appended too.

Cheers,
Rusty.

----------------------------------------------------------------
Dan Streetman (2):
module: make perm const
module: add per-module param_lock

Gobinda Charan Maji (1):
sysfs: tightened sysfs permission checks

Luis R. Rodriguez (6):
kernel/params: constify struct kernel_param_ops uses
kernel/module.c: use generic module param operaters for sig_enforce
kernel/params.c: generalize bool_enable_only
kernel/params.c: export param_ops_bool_enable_only
kernel/workqueue.c: remove ifdefs over wq_power_efficient
kernel/module.c: avoid ifdefs for sig_enforce declaration

Peter Zijlstra (12):
module: Annotate module version magic
module, jump_label: Fix module locking
module: Sanitize RCU usage and locking
rbtree: Make lockless searches non-fatal
seqlock: Better document raw_write_seqcount_latch()
rcu: Move lockless_dereference() out of rcupdate.h
seqlock: Introduce raw_read_seqcount_latch()
rbtree: Implement generic latch_tree
module: Optimize __module_address() using a latched RB-tree
module: Make the mod_tree stuff conditional on PERF_EVENTS || TRACING
module: Use __module_address() for module_address_lookup()
module: Rework module_addr_{min,max}

Rusty Russell (3):
modules: clarify CONFIG_MODULE_COMPRESS help, suggest 'N'.
params: suppress unused variable error, warn once just in case code changes.
param: fix module param locks when !CONFIG_SYSFS.

Stephen Rothwell (2):
rcu: merge fix for Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE()
modules: only use mod->param_lock if CONFIG_MODULES

arch/s390/kernel/perf_cpum_sf.c | 2 +-
arch/um/drivers/hostaudio_kern.c | 20 +-
arch/x86/kvm/mmu_audit.c | 2 +-
arch/x86/platform/uv/uv_nmi.c | 2 +-
drivers/block/null_blk.c | 4 +-
drivers/char/ipmi/ipmi_watchdog.c | 6 +-
drivers/dma/dmatest.c | 4 +-
drivers/ide/ide.c | 2 +-
drivers/infiniband/ulp/srp/ib_srp.c | 4 +-
drivers/input/misc/ati_remote2.c | 4 +-
drivers/input/mouse/psmouse-base.c | 2 +-
drivers/misc/lis3lv02d/lis3lv02d.c | 2 +-
drivers/mtd/ubi/block.c | 2 +-
drivers/net/ethernet/myricom/myri10ge/myri10ge.c | 6 +-
drivers/net/wireless/ath/wil6210/main.c | 4 +-
drivers/net/wireless/libertas_tf/if_usb.c | 6 +-
drivers/power/test_power.c | 16 +-
drivers/thermal/intel_powerclamp.c | 4 +-
drivers/tty/hvc/hvc_iucv.c | 2 +-
drivers/tty/sysrq.c | 2 +-
drivers/usb/atm/ueagle-atm.c | 4 +-
drivers/video/fbdev/uvesafb.c | 2 +-
drivers/video/fbdev/vt8623fb.c | 4 +-
drivers/virtio/virtio_mmio.c | 2 +-
fs/nfs/super.c | 2 +-
include/linux/compiler.h | 15 ++
include/linux/kernel.h | 18 +-
include/linux/module.h | 46 +++-
include/linux/moduleparam.h | 99 +++-----
include/linux/rbtree.h | 16 +-
include/linux/rbtree_augmented.h | 21 +-
include/linux/rbtree_latch.h | 212 ++++++++++++++++
include/linux/rcupdate.h | 15 --
include/linux/seqlock.h | 81 +++++-
init/Kconfig | 29 +--
kernel/jump_label.c | 10 +-
kernel/module.c | 309 +++++++++++++++++------
kernel/params.c | 116 ++++++---
kernel/time/timekeeping.c | 29 +--
kernel/workqueue.c | 7 +-
lib/bug.c | 7 +-
lib/rbtree.c | 76 ++++--
net/mac80211/rate.c | 4 +-
net/sunrpc/auth.c | 2 +-
net/sunrpc/xprtsock.c | 6 +-
security/apparmor/lsm.c | 6 +-
security/integrity/ima/ima_crypto.c | 2 +-
sound/pci/hda/hda_intel.c | 2 +-
48 files changed, 883 insertions(+), 355 deletions(-)
create mode 100644 include/linux/rbtree_latch.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/