Release linux (4.7.6-1).
-----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJX9/r9AAoJEOe/yOyVhhEJaFIQANHw/AYqMiP/0fnT8TRl1ISq 1jK7KhHKs4h7O+f4r/D31FLUAC+YVhpAqw4aHCiTwg9fjVULLcxaX91AAtpdliGm NhWPT7/p8S6SiLTZtVxEb8MAzNqTnN4UdoBMdetWvHYSD/zq5U/BSWCTmm5pOu+X E6mzwHdkgzUF/Wnt3bmmSmU415BG4nW6xIroYfH3DDSoj1pkxSW9BUhIv2L5mY25 emjFyXMqYRKJ93CBbCewNy0sLiL1V94P0r8HIdo2JDQg1QecYnYtV0AC/2kZODhm 9l3OyB6Dp20y5ib+t6/+4WqvmXl6XrvvjZMtHXsyv44gC1j7e0ChrXbsYk//4Lpo FgQ8IYaNLskPEXyjzNHhwt61i0BIfZmKSJ17ldkgofAmt+Wa1926jFih5twFu5fj pMkkxlJUZU7QKxEtuhC7bSOzRzoXjb+xx21Zgenhc89GamagRAKncFbRlJ6K+4pS SMVlnXuLC0MHlUnAxZQ/N7hdhS235UxSFBp3qyOrYDWmjxyXkItyRfd7SKeSk3Vx ZikpGlvsvExvyzrjTdyLwBmlyj2I+XZxGxOT2pe4EYb1xxLXUTBAqU1Ycsd8XjC3 lUqTn3r29PYeXRYC9eUsJryLJjejdkTIssM5Y9hhoi9KjMnLptRS7tJAeCO+C8QF Qyhb3De7DCWrkcl8YSJI =fl9b -----END PGP SIGNATURE----- Merge tag 'debian/4.7.6-1'
This commit is contained in:
commit
6429254d8f
|
@ -135,7 +135,7 @@ class Gencontrol(Base):
|
|||
self._setup_makeflags(self.arch_makeflags, makeflags, config_base)
|
||||
|
||||
try:
|
||||
gnu_type_bytes = subprocess.check_output(['dpkg-architecture',
|
||||
gnu_type_bytes = subprocess.check_output(['dpkg-architecture', '-f',
|
||||
'-a', arch,
|
||||
'-q', 'DEB_HOST_GNU_TYPE'],
|
||||
stderr=subprocess.DEVNULL)
|
||||
|
|
|
@ -94,6 +94,85 @@ linux (4.8~rc5-1~exp1) experimental; urgency=medium
|
|||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Wed, 07 Sep 2016 21:52:47 +0100
|
||||
|
||||
linux (4.7.6-1) unstable; urgency=medium
|
||||
|
||||
* New upstream stable update:
|
||||
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.7.6
|
||||
- [arm64] crypto: arm64/aes-ctr - fix NULL dereference in tail processing
|
||||
- [armhf] crypto: arm/aes-ctr - fix NULL dereference in tail processing
|
||||
- crypto: skcipher - Fix blkcipher walk OOM crash
|
||||
- crypto: echainiv - Replace chaining with multiplication
|
||||
- ocfs2/dlm: fix race between convert and migration
|
||||
- ocfs2: fix start offset to ocfs2_zero_range_for_truncate()
|
||||
- Revert "ocfs2: bump up o2cb network protocol version"
|
||||
- autofs: use dentry flags to block walks during expire
|
||||
- xfs: prevent dropping ioend completions during buftarg wait
|
||||
- mm: fix the page_swap_info() BUG_ON check
|
||||
- fsnotify: add a way to stop queueing events on group shutdown
|
||||
- fanotify: fix list corruption in fanotify_get_response()
|
||||
- mm: memcontrol: make per-cpu charge cache IRQ-safe for socket accounting
|
||||
- cgroup: duplicate cgroup reference when cloning sockets
|
||||
- fix fault_in_multipages_...() on architectures with no-op access_ok()
|
||||
- KEYS: Fix skcipher IV clobbering
|
||||
- [arm64] Call numa_store_cpu_info() earlier.
|
||||
- configfs: Return -EFBIG from configfs_write_bin_file.
|
||||
- [armhf] mtd: nand: mxc: fix obiwan error in
|
||||
mxc_nand_v[12]_ooblayout_free() functions
|
||||
- mtd: spi-nor: fix wrong "fully unlocked" test
|
||||
- reset: Return -ENOTSUPP when not configured
|
||||
- rtc: ds1307: Fix relying on reset value for weekday
|
||||
- [arm64] power: reset: hisi-reboot: Unmap region obtained by of_iomap
|
||||
- mac80211: reject TSPEC TIDs (TSIDs) for aggregation
|
||||
- fix memory leaks in tracing_buffers_splice_read()
|
||||
- tracing: Move mutex to protect against resetting of seq data
|
||||
- mm: delete unnecessary and unsafe init_tlb_ubc()
|
||||
- iwlwifi: mvm: update TX queue before making a copy of the skb
|
||||
- nl80211: validate number of probe response CSA counters
|
||||
- btrfs: ensure that file descriptor used with subvol ioctls is a dir
|
||||
- [x86] efi: Only map RAM into EFI page tables if in mixed-mode
|
||||
- [x86] i2c-eg20t: fix race between i2c init and interrupt enable
|
||||
- [armhf] i2c: mux: pca954x: retry updating the mux selection on failure
|
||||
- [arm64] i2c: qup: skip qup_i2c_suspend if the device is already runtime
|
||||
suspended
|
||||
- [mips*] SMP: Fix possibility of deadlock when bringing CPUs online
|
||||
- [mips*] Avoid a BUG warning during prctl(PR_SET_FP_MODE, ...)
|
||||
- [mips*] Add a missing ".set pop" in an early commit
|
||||
- [x86] mm/pat: Prevent hang during boot when mapping pages
|
||||
- libceph: add an ONSTACK initializer for oids
|
||||
- ceph: fix symbol versioning for ceph_monc_do_statfs
|
||||
- ceph: Correctly return NXIO errors from ceph_llseek
|
||||
- libceph: fix return value check in alloc_msg_with_page_vector()
|
||||
- PM / hibernate: Restore processor state before using per-CPU variables
|
||||
- PM / hibernate: Fix rtree_next_node() to avoid walking off list ends
|
||||
- ixgbe: Force VLNCTRL.VFE to be set in all VMDq paths
|
||||
- ixgbe: Re-enable ability to toggle VLAN filtering
|
||||
- igb: fix adjusting PTP timestamps for Tx/Rx latency
|
||||
- [armhf,arm64] soc/tegra: pmc: Don't probe PMC if early initialisation
|
||||
fails
|
||||
- qxl: check for kmap failures
|
||||
- hostfs: Freeing an ERR_PTR in hostfs_fill_sb_common()
|
||||
- iw_cxgb4: stop MPA_REPLY timer when disconnecting
|
||||
|
||||
[ Ben Hutchings ]
|
||||
* debian/bin/gencontrol.py: Fix cross-build-dependencies if invoked under
|
||||
dpkg-buildpackage
|
||||
* linux-image: Exclude vmlinux from stripping by dh_strip (fixes FTBFS
|
||||
on hppa)
|
||||
* udeb: Fold core-modules into kernel-image
|
||||
* udeb: Move nls_utf8 from fat-modules to kernel-image, as many other
|
||||
filesystems need it but vfat no longer does
|
||||
* of_mdio: Enable fixed PHY support if driver is a module
|
||||
* of_mdio: select fixed phy support unconditionally
|
||||
* [armhf] Enable driver for SolidRun ClearFog: USB_XHCI_MVEBU as module
|
||||
* mm: memcontrol: use special workqueue for creating per-memcg caches
|
||||
|
||||
[ Cyril Brulebois ]
|
||||
* Add nls_ascii to the fat-modules udeb, following the change of
|
||||
iocharset default in 4.7.2-1. This fixes a regression with EFI-related
|
||||
mounts within the Debian Installer. (Closes: #839552)
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Fri, 07 Oct 2016 02:11:50 +0100
|
||||
|
||||
linux (4.7.5-1) unstable; urgency=medium
|
||||
|
||||
* New upstream stable update:
|
||||
|
|
|
@ -1123,6 +1123,7 @@ CONFIG_USB_G_NOKIA=m
|
|||
##
|
||||
## file: drivers/usb/host/Kconfig
|
||||
##
|
||||
CONFIG_USB_XHCI_MVEBU=m
|
||||
CONFIG_USB_XHCI_TEGRA=m
|
||||
CONFIG_USB_EHCI_HCD=m
|
||||
CONFIG_USB_EHCI_MXC=m
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#include <core-modules>
|
||||
|
||||
# Regulators
|
||||
drivers/regulator/**
|
||||
|
||||
# SoC modules
|
||||
drivers/soc/**
|
|
@ -1 +1,7 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
||||
# Regulators
|
||||
drivers/regulator/**
|
||||
|
||||
# SoC modules
|
||||
drivers/soc/**
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -8,4 +8,4 @@ Provides_marvell: rtc-modules
|
|||
Provides_versatile: rtc-modules
|
||||
|
||||
Package: fb-modules
|
||||
Depends: kernel-image, usb-modules, nls-core-modules
|
||||
Depends: kernel-image, usb-modules
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
#include <core-modules>
|
||||
|
||||
# Clocks
|
||||
clk-palmas ?
|
||||
clk-s2mps11 ?
|
||||
clk-twl6040 ?
|
||||
|
||||
# GPIO
|
||||
gpio-da9052 ?
|
||||
gpio-pca953x ?
|
||||
|
||||
# PCIe PHYs
|
||||
phy-omap-control ?
|
||||
phy-ti-pipe3 ?
|
||||
|
||||
# Regulators
|
||||
drivers/regulator/**
|
|
@ -1 +1,17 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
||||
# Clocks
|
||||
clk-palmas ?
|
||||
clk-s2mps11 ?
|
||||
clk-twl6040 ?
|
||||
|
||||
# GPIO
|
||||
gpio-da9052 ?
|
||||
gpio-pca953x ?
|
||||
|
||||
# PCIe PHYs
|
||||
phy-omap-control ?
|
||||
phy-ti-pipe3 ?
|
||||
|
||||
# Regulators
|
||||
drivers/regulator/**
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include "../hppa/core-modules"
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include "../hppa/kernel-image"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
bitrev ?
|
||||
eeprom_93cx6 ?
|
||||
led-class ?
|
||||
mbcache
|
|
@ -2,5 +2,5 @@ fat ?
|
|||
vfat
|
||||
# the default codepage for fat (as of 2.6.8)
|
||||
nls_cp437 ?
|
||||
# the default i/o character set for fat (as of 2.6.25)
|
||||
nls_utf8 ?
|
||||
# the default i/o character set for fat (as of 4.7.2-1)
|
||||
nls_ascii ?
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
bitrev ?
|
||||
eeprom_93cx6 ?
|
||||
led-class ?
|
||||
mbcache
|
||||
# Default I/O charset for most filesystems that do character conversion
|
||||
nls_utf8
|
|
@ -3,14 +3,14 @@
|
|||
# architecture, which is derived from the files in the modules directory.
|
||||
#
|
||||
Package: kernel-image
|
||||
Priority: extra
|
||||
Description: Linux kernel binary image for the Debian installer
|
||||
This package contains the kernel image for the Debian installer
|
||||
boot images. It does _not_ provide a usable kernel for your full
|
||||
Priority: standard
|
||||
Description: Linux kernel image and core modules for the Debian installer
|
||||
This package contains the kernel image and core modules for the Debian
|
||||
installer boot images. It does _not_ provide a usable kernel for your full
|
||||
Debian system.
|
||||
|
||||
Package: nic-modules
|
||||
Depends: kernel-image, nic-shared-modules, core-modules, i2c-modules, crc-modules
|
||||
Depends: kernel-image, nic-shared-modules, i2c-modules, crc-modules
|
||||
Provides: nic-extra-modules
|
||||
Priority: standard
|
||||
Description: NIC drivers
|
||||
|
@ -18,7 +18,7 @@ Description: NIC drivers
|
|||
for the kernel.
|
||||
|
||||
Package: nic-wireless-modules
|
||||
Depends: kernel-image, nic-shared-modules, core-modules, usb-modules, mmc-modules, pcmcia-modules, crc-modules
|
||||
Depends: kernel-image, nic-shared-modules, usb-modules, mmc-modules, pcmcia-modules, crc-modules
|
||||
Priority: standard
|
||||
Description: Wireless NIC drivers
|
||||
This package contains wireless NIC drivers for the kernel.
|
||||
|
@ -74,7 +74,7 @@ Description: Core SCSI subsystem
|
|||
This package contains the core SCSI subsystem for the kernel.
|
||||
|
||||
Package: scsi-modules
|
||||
Depends: kernel-image, scsi-core-modules, cdrom-core-modules, core-modules, ata-modules
|
||||
Depends: kernel-image, scsi-core-modules, cdrom-core-modules, ata-modules
|
||||
Priority: standard
|
||||
Description: SCSI drivers
|
||||
This package contains SCSI drivers for the kernel.
|
||||
|
@ -92,13 +92,13 @@ Description: IPv6 driver
|
|||
This package contains the IPv6 driver for the kernel.
|
||||
|
||||
Package: btrfs-modules
|
||||
Depends: kernel-image, core-modules, crc-modules, zlib-modules, lzo-modules, md-modules
|
||||
Depends: kernel-image, crc-modules, zlib-modules, lzo-modules, md-modules
|
||||
Priority: extra
|
||||
Description: BTRFS filesystem support
|
||||
This package contains the BTRFS filesystem module for the kernel.
|
||||
|
||||
Package: ext4-modules
|
||||
Depends: kernel-image, core-modules, crc-modules
|
||||
Depends: kernel-image, crc-modules
|
||||
Provides: ext2-modules, ext3-modules
|
||||
Priority: standard
|
||||
Description: ext2/ext3/ext4 filesystem support
|
||||
|
@ -106,7 +106,7 @@ Description: ext2/ext3/ext4 filesystem support
|
|||
also supports ext2 and ext3.
|
||||
|
||||
Package: isofs-modules
|
||||
Depends: kernel-image, nls-core-modules
|
||||
Depends: kernel-image
|
||||
Priority: standard
|
||||
Description: ISOFS filesystem support
|
||||
This package contains the ISOFS filesystem module for the kernel.
|
||||
|
@ -118,13 +118,13 @@ Description: JFFS2 filesystem support
|
|||
This package contains the JFFS2 filesystem module for the kernel.
|
||||
|
||||
Package: jfs-modules
|
||||
Depends: kernel-image, nls-core-modules
|
||||
Depends: kernel-image
|
||||
Priority: standard
|
||||
Description: JFS filesystem support
|
||||
This package contains the JFS filesystem module for the kernel.
|
||||
|
||||
Package: ntfs-modules
|
||||
Depends: kernel-image, nls-core-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: NTFS filesystem support
|
||||
This package contains the NTFS file system module for the kernel.
|
||||
|
@ -136,13 +136,13 @@ Description: XFS filesystem support
|
|||
This package contains the XFS filesystem module for the kernel.
|
||||
|
||||
Package: fat-modules
|
||||
Depends: kernel-image, nls-core-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: FAT filesystem support
|
||||
This package contains the FAT and VFAT filesystem modules for the kernel.
|
||||
|
||||
Package: hfs-modules
|
||||
Depends: kernel-image, nls-core-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: HFS filesystem support
|
||||
This package contains the HFS and HFS+ filesystem modules for the kernel.
|
||||
|
@ -178,7 +178,7 @@ Description: Multipath support
|
|||
This package contains DM-Multipath modules for the kernel.
|
||||
|
||||
Package: usb-modules
|
||||
Depends: kernel-image, nls-core-modules, core-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: USB support
|
||||
This package contains core USB drivers for the kernel.
|
||||
|
@ -226,13 +226,13 @@ Description: Common PCMCIA NIC drivers
|
|||
This package contains common PCMCIA NIC drivers for the kernel.
|
||||
|
||||
Package: pcmcia-modules
|
||||
Depends: kernel-image, core-modules
|
||||
Depends: kernel-image
|
||||
Priority: standard
|
||||
Description: Common PCMCIA drivers
|
||||
This package contains common PCMCIA drivers for the kernel.
|
||||
|
||||
Package: nic-usb-modules
|
||||
Depends: kernel-image, nic-shared-modules, nic-wireless-modules, usb-modules, core-modules, crc-modules
|
||||
Depends: kernel-image, nic-shared-modules, nic-wireless-modules, usb-modules, crc-modules
|
||||
Priority: standard
|
||||
Description: USB NIC drivers
|
||||
This package contains USB network adapter drivers for the kernel.
|
||||
|
@ -243,13 +243,6 @@ Priority: standard
|
|||
Description: SATA drivers
|
||||
This package contains SATA drivers for the kernel.
|
||||
|
||||
Package: core-modules
|
||||
Depends: kernel-image
|
||||
Priority: standard
|
||||
Description: Core modules
|
||||
This package contains core modules for the kernel, that will almost
|
||||
always be needed.
|
||||
|
||||
Package: acpi-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
|
@ -294,13 +287,13 @@ Description: ATA disk modules
|
|||
disk drivers.
|
||||
|
||||
Package: mmc-core-modules
|
||||
Depends: kernel-image, core-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: MMC/SD/SDIO core modules
|
||||
This package contains core modules for MMC/SD/SDIO support.
|
||||
|
||||
Package: mmc-modules
|
||||
Depends: kernel-image, core-modules, mmc-core-modules, usb-modules, crc-modules
|
||||
Depends: kernel-image, mmc-core-modules, usb-modules, crc-modules
|
||||
Priority: extra
|
||||
Description: MMC/SD card modules
|
||||
This package contains modules needed to support MMC (multimedia) and
|
||||
|
@ -344,7 +337,7 @@ Description: uinput support
|
|||
This package contains the uinput module.
|
||||
|
||||
Package: sound-modules
|
||||
Depends: kernel-image, core-modules, i2c-modules, usb-modules, pcmcia-modules, firewire-core-modules, crc-modules
|
||||
Depends: kernel-image, i2c-modules, usb-modules, pcmcia-modules, firewire-core-modules, crc-modules
|
||||
Priority: extra
|
||||
Description: sound support
|
||||
This package contains sound modules.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +0,0 @@
|
|||
#include "../powerpc/core-modules"
|
|
@ -1,2 +0,0 @@
|
|||
#include <core-modules>
|
||||
bestcomm-core ?
|
|
@ -1 +1,2 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
bestcomm-core ?
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include "../../../ppc64/modules/ppc64/core-modules"
|
|
@ -1,2 +0,0 @@
|
|||
#include <core-modules>
|
||||
vmcp ?
|
|
@ -1 +1,2 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
vmcp ?
|
||||
|
|
|
@ -1 +1 @@
|
|||
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +1 @@
|
|||
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <core-modules>
|
|
@ -1 +1 @@
|
|||
# empty
|
||||
#include <kernel-image>
|
||||
|
|
|
@ -0,0 +1,73 @@
|
|||
From: Vladimir Davydov <vdavydov.dev@gmail.com>
|
||||
Date: Sat, 1 Oct 2016 16:39:09 +0300
|
||||
Subject: mm: memcontrol: use special workqueue for creating per-memcg caches
|
||||
Origin: https://patchwork.kernel.org/patch/9361853/
|
||||
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=172981
|
||||
|
||||
Creating a lot of cgroups at the same time might stall all worker
|
||||
threads with kmem cache creation works, because kmem cache creation is
|
||||
done with the slab_mutex held. The problem was amplified by commits
|
||||
801faf0db894 ("mm/slab: lockless decision to grow cache") in case of
|
||||
SLAB and 81ae6d03952c ("mm/slub.c: replace kick_all_cpus_sync() with
|
||||
synchronize_sched() in kmem_cache_shrink()") in case of SLUB, which
|
||||
increased the maximal time the slab_mutex can be held.
|
||||
|
||||
To prevent that from happening, let's use a special ordered single
|
||||
threaded workqueue for kmem cache creation. This shouldn't introduce any
|
||||
functional changes regarding how kmem caches are created, as the work
|
||||
function holds the global slab_mutex during its whole runtime anyway,
|
||||
making it impossible to run more than one work at a time. By using a
|
||||
single threaded workqueue, we just avoid creating a thread per each
|
||||
work. Ordering is required to avoid a situation when a cgroup's work is
|
||||
put off indefinitely because there are other cgroups to serve, in other
|
||||
words to guarantee fairness.
|
||||
|
||||
Link: https://bugzilla.kernel.org/show_bug.cgi?id=172981
|
||||
Signed-off-by: Vladimir Davydov <vdavydov.dev@gmail.com>
|
||||
Reported-by: Doug Smythies <dsmythies@telus.net>
|
||||
Cc: Christoph Lameter <cl@linux.com>
|
||||
Cc: David Rientjes <rientjes@google.com>
|
||||
Cc: Johannes Weiner <hannes@cmpxchg.org>
|
||||
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
|
||||
Cc: Michal Hocko <mhocko@kernel.org>
|
||||
Cc: Pekka Enberg <penberg@kernel.org>
|
||||
Acked-by: Michal Hocko <mhocko@suse.com>
|
||||
---
|
||||
--- a/mm/memcontrol.c
|
||||
+++ b/mm/memcontrol.c
|
||||
@@ -2232,6 +2232,8 @@ struct memcg_kmem_cache_create_work {
|
||||
struct work_struct work;
|
||||
};
|
||||
|
||||
+static struct workqueue_struct *memcg_kmem_cache_create_wq;
|
||||
+
|
||||
static void memcg_kmem_cache_create_func(struct work_struct *w)
|
||||
{
|
||||
struct memcg_kmem_cache_create_work *cw =
|
||||
@@ -2263,7 +2265,7 @@ static void __memcg_schedule_kmem_cache_
|
||||
cw->cachep = cachep;
|
||||
INIT_WORK(&cw->work, memcg_kmem_cache_create_func);
|
||||
|
||||
- schedule_work(&cw->work);
|
||||
+ queue_work(memcg_kmem_cache_create_wq, &cw->work);
|
||||
}
|
||||
|
||||
static void memcg_schedule_kmem_cache_create(struct mem_cgroup *memcg,
|
||||
@@ -5811,6 +5813,17 @@ static int __init mem_cgroup_init(void)
|
||||
{
|
||||
int cpu, node;
|
||||
|
||||
+#ifndef CONFIG_SLOB
|
||||
+ /*
|
||||
+ * Kmem cache creation is mostly done with the slab_mutex held,
|
||||
+ * so use a special workqueue to avoid stalling all worker
|
||||
+ * threads in case lots of cgroups are created simultaneously.
|
||||
+ */
|
||||
+ memcg_kmem_cache_create_wq =
|
||||
+ alloc_ordered_workqueue("memcg_kmem_cache_create", 0);
|
||||
+ BUG_ON(!memcg_kmem_cache_create_wq);
|
||||
+#endif
|
||||
+
|
||||
hotcpu_notifier(memcg_cpu_hotplug_callback, 0);
|
||||
|
||||
for_each_possible_cpu(cpu)
|
|
@ -62,6 +62,7 @@ bugfix/all/disable-some-marvell-phys.patch
|
|||
bugfix/all/fs-add-module_softdep-declarations-for-hard-coded-cr.patch
|
||||
bugfix/all/kbuild-do-not-use-hyphen-in-exported-variable-name.patch
|
||||
bugfix/all/ext4-fix-bug-838544.patch
|
||||
bugfix/all/mm-memcontrol-use-special-workqueue-for-creating-per-memcg-caches.patch
|
||||
|
||||
# Miscellaneous features
|
||||
|
||||
|
|
|
@ -422,7 +422,7 @@ endif
|
|||
+$(MAKE_SELF) \
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug \
|
||||
PACKAGE_DIR='$(PACKAGE_DIR)' PACKAGE_NAME='$(PACKAGE_NAME)' REAL_VERSION='$(REAL_VERSION)'
|
||||
dh_strip --no-automatic-dbgsym
|
||||
dh_strip --no-automatic-dbgsym -Xvmlinux
|
||||
+$(MAKE_SELF) install-base GENCONTROL_ARGS='-Vkernel:Recommends='"$$( \
|
||||
if grep -q '^CONFIG_SMP=y' $(DIR)/.config; then \
|
||||
printf irqbalance,; \
|
||||
|
|
Loading…
Reference in New Issue