I'm announcing the release of the 4.4.208 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm/boot/compressed/libfdt_env.h | 4
arch/arm64/kernel/psci.c | 15 +--
arch/powerpc/boot/libfdt_env.h | 2
arch/powerpc/kernel/irq.c | 4
arch/powerpc/kernel/security.c | 21 ++--
arch/powerpc/kernel/time.c | 2
arch/powerpc/platforms/pseries/cmm.c | 5 +
arch/s390/kernel/perf_cpum_sf.c | 17 +++
arch/sh/include/cpu-sh4/cpu/sh7734.h | 2
arch/x86/include/asm/crash.h | 2
arch/x86/include/asm/fixmap.h | 2
arch/x86/kernel/apic/io_apic.c | 9 +
arch/x86/mm/pgtable.c | 4
drivers/ata/libata-core.c | 3
drivers/cdrom/cdrom.c | 12 ++
drivers/char/hw_random/omap3-rom-rng.c | 3
drivers/clk/pxa/clk-pxa27x.c | 1
drivers/clk/qcom/clk-rcg2.c | 2
drivers/clk/qcom/common.c | 3
drivers/clocksource/asm9260_timer.c | 4
drivers/cpufreq/cpufreq.c | 7 +
drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 12 +-
drivers/crypto/vmx/Makefile | 6 -
drivers/edac/ghes_edac.c | 10 +-
drivers/extcon/extcon-sm5502.c | 4
drivers/extcon/extcon-sm5502.h | 2
drivers/gpio/gpio-mpc8xxx.c | 3
drivers/gpu/drm/gma500/oaktrail_crtc.c | 2
drivers/hid/hid-core.c | 4
drivers/iio/adc/max1027.c | 8 +
drivers/iio/light/bh1750.c | 4
drivers/infiniband/ulp/iser/iscsi_iser.c | 1
drivers/input/touchscreen/atmel_mxt_ts.c | 4
drivers/iommu/tegra-smmu.c | 11 +-
drivers/irqchip/irq-bcm7038-l1.c | 4
drivers/irqchip/irq-ingenic.c | 15 ++-
drivers/md/bcache/btree.c | 2
drivers/media/i2c/ov2659.c | 18 ++-
drivers/media/i2c/soc_camera/ov6650.c | 9 +
drivers/media/platform/am437x/am437x-vpfe.c | 4
drivers/media/platform/ti-vpe/vpe.c | 16 ++-
drivers/media/radio/si470x/radio-si470x-i2c.c | 2
drivers/media/usb/b2c2/flexcop-usb.c | 8 +
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 9 +
drivers/mmc/host/sdhci-of-esdhc.c | 4
drivers/mmc/host/sdhci.c | 6 -
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 16 ++-
drivers/net/ethernet/hisilicon/hip04_eth.c | 2
drivers/net/ethernet/qlogic/qla3xxx.c | 8 -
drivers/net/ethernet/ti/davinci_cpdma.c | 12 +-
drivers/net/fjes/fjes_main.c | 3
drivers/net/hamradio/6pack.c | 4
drivers/net/hamradio/mkiss.c | 4
drivers/net/phy/phy_device.c | 4
drivers/net/usb/lan78xx.c | 1
drivers/net/wireless/ath/ath10k/txrx.c | 2
drivers/net/wireless/iwlwifi/dvm/led.c | 3
drivers/net/wireless/iwlwifi/mvm/led.c | 3
drivers/net/wireless/mwifiex/pcie.c | 5 -
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c | 2
drivers/net/wireless/realtek/rtlwifi/usb.c | 5 -
drivers/parport/share.c | 21 ++++
drivers/pinctrl/sh-pfc/pfc-sh7734.c | 4
drivers/platform/x86/hp-wmi.c | 2
drivers/regulator/max8907-regulator.c | 15 ++-
drivers/scsi/csiostor/csio_lnode.c | 15 +--
drivers/scsi/lpfc/lpfc_els.c | 2
drivers/scsi/lpfc/lpfc_nportdisc.c | 4
drivers/scsi/lpfc/lpfc_sli.c | 15 ++-
drivers/scsi/mpt3sas/mpt3sas_ctl.c | 3
drivers/scsi/pm8001/pm80xx_hwi.c | 2
drivers/scsi/scsi_trace.c | 11 +-
drivers/scsi/ufs/ufshcd.c | 2
drivers/spi/spi-img-spfi.c | 2
drivers/spi/spi-pxa2xx.c | 6 +
drivers/spi/spi-tegra20-slink.c | 5 -
drivers/spi/spidev.c | 3
drivers/staging/comedi/drivers/gsc_hpdi.c | 10 ++
drivers/staging/fbtft/fbtft-core.c | 2
drivers/staging/rtl8188eu/core/rtw_xmit.c | 4
drivers/target/iscsi/iscsi_target.c | 10 +-
drivers/target/iscsi/iscsi_target_auth.c | 2
drivers/usb/host/ehci-q.c | 13 ++
drivers/usb/host/xhci-pci.c | 2
drivers/usb/renesas_usbhs/common.h | 3
drivers/usb/renesas_usbhs/mod_gadget.c | 12 +-
drivers/usb/usbip/vhci_rx.c | 13 +-
fs/btrfs/ctree.c | 2
fs/btrfs/disk-io.c | 2
fs/btrfs/extent_io.c | 6 -
fs/btrfs/inode.c | 1
fs/btrfs/ioctl.c | 10 +-
fs/btrfs/relocation.c | 1
fs/btrfs/tests/qgroup-tests.c | 4
fs/btrfs/uuid-tree.c | 2
fs/ext4/dir.c | 5 +
fs/ext4/namei.c | 11 +-
fs/jbd2/commit.c | 4
fs/ocfs2/acl.c | 4
fs/quota/dquot.c | 29 +++---
fs/readdir.c | 40 ++++++++
include/drm/drm_dp_mst_helper.h | 2
include/linux/hrtimer.h | 14 ++
include/linux/libfdt_env.h | 3
include/linux/mod_devicetable.h | 4
include/linux/quota.h | 2
include/net/dst.h | 2
include/scsi/iscsi_proto.h | 1
kernel/sysctl.c | 2
kernel/time/hrtimer.c | 11 +-
lib/dma-debug.c | 1
net/bluetooth/hci_core.c | 9 +
net/bridge/br_netfilter_hooks.c | 3
net/bridge/netfilter/ebtables.c | 33 +++----
net/ipv4/icmp.c | 11 +-
net/ipv4/tcp_output.c | 8 +
net/nfc/nci/uart.c | 2
net/packet/af_packet.c | 3
net/sctp/protocol.c | 4
samples/pktgen/functions.sh | 17 ++-
scripts/kallsyms.c | 2
sound/core/pcm_native.c | 4
sound/pci/hda/hda_controller.c | 2
sound/pci/hda/patch_ca0132.c | 7 +
sound/soc/codecs/rt5677.c | 1
tools/lib/traceevent/parse-filter.c | 9 +
tools/perf/builtin-report.c | 7 +
tools/perf/util/dwarf-aux.c | 80 ++++++++++++++---
tools/perf/util/dwarf-aux.h | 3
tools/perf/util/perf_regs.h | 2
tools/perf/util/probe-finder.c | 43 ++++++++-
tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c | 1
133 files changed, 725 insertions(+), 240 deletions(-)
Andy Shevchenko (1):
fbtft: Make sure string is NULL terminated
Anthony Steinhauser (1):
powerpc/security/book3s64: Report L1TF status in sysfs
Arnaldo Carvalho de Melo (1):
perf regs: Make perf_reg_name() return "unknown" instead of NULL
Arnd Bergmann (1):
net: davinci_cpdma: use dma_addr_t for DMA address
Bart Van Assche (2):
scsi: tracing: Fix handling of TRANSFER LENGTH == 0 for READ(6) and WRITE(6)
scsi: target: iscsi: Wait for all commands to finish before freeing a session
Bean Huo (1):
scsi: ufs: fix potential bug which ends in system hang
Ben Hutchings (1):
net: qlogic: Fix error paths in ql_alloc_large_buffers()
Ben Zhang (1):
ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile
Benoit Parrot (6):
media: am437x-vpfe: Setting STD to current value is not an error
media: i2c: ov2659: fix s_stream return value
media: i2c: ov2659: Fix missing 720p register config
media: ti-vpe: vpe: fix a v4l2-compliance warning about invalid pixel format
media: ti-vpe: vpe: fix a v4l2-compliance failure about frame sequence number
media: ti-vpe: vpe: Make sure YUYV is set as default format
Blaž Hrastnik (1):
HID: Improve Windows Precision Touchpad detection.
Christophe Leroy (1):
powerpc/irq: fix stack overflow verification
Chuhong Yuan (5):
media: si470x-i2c: add missed operations in remove
spi: pxa2xx: Add missed security checks
spi: tegra20-slink: add missed clk_unprepare
fjes: fix missed check in fjes_acpi_add
clocksource/drivers/asm9260: Add a check for of_clk_get
Coly Li (1):
bcache: at least try to shrink 1 node in bch_mca_scan()
Connor Kuehl (1):
staging: rtl8188eu: fix possible null dereference
Corentin Labbe (1):
crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c
Cristian Birsan (1):
net: usb: lan78xx: Fix suspend/resume PHY register access error
Dan Carpenter (2):
btrfs: return error pointer from alloc_test_extent_buffer
scsi: csiostor: Don't enable IRQs too early
Daniel T. Lee (1):
samples: pktgen: fix proc_cmd command result check logic
David Disseldorp (1):
scsi: target: compare full CHAP_A Algorithm strings
David Hildenbrand (1):
powerpc/pseries/cmm: Implement release() function for sysfs device
Diego Elio Pettenò (1):
cdrom: respect device capabilities during opening action
Ding Xiang (1):
ocfs2: fix passing zero to 'PTR_ERR' warning
Eric Dumazet (6):
dma-debug: add a schedule point in debug_dma_dump_mappings()
6pack,mkiss: fix possible deadlock
netfilter: bridge: make sure to pull arp header in br_nf_forward_arp()
net: icmp: fix data-race in cmp_global_allow()
hrtimer: Annotate lockless access to timer->state
tcp: do not send empty skb from tcp_write_xmit()
Erkka Talvitie (1):
USB: EHCI: Do not return -EPIPE when hub is disconnected
Evan Green (1):
Input: atmel_mxt_ts - disable IRQ across suspend
Faiz Abbas (2):
Revert "mmc: sdhci: Fix incorrect switch to HS mode"
mmc: sdhci: Update the tuning failed messages to pr_debug level
Filipe Manana (1):
Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues
Florian Fainelli (1):
irqchip/irq-bcm7038-l1: Enable parent IRQ if necessary
Florian Westphal (1):
netfilter: ebtables: compat: reject all padding in matches/watchers
Geert Uytterhoeven (2):
pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B
net: dst: Force 4-byte alignment of dst_metrics
Greg Kroah-Hartman (1):
Linux 4.4.208
Guenter Roeck (1):
usb: xhci: Fix build warning seen with CONFIG_PM=n
Gustavo L. F. Walbon (1):
powerpc/security: Fix wrong message when RFI Flush is disable
Hans de Goede (1):
platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes
Hewenliang (1):
libtraceevent: Fix memory leakage in copy_filter_type
Ian Abbott (1):
staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value
James Smart (4):
scsi: lpfc: Fix locking on mailbox command completion
scsi: lpfc: Fix SLI3 hba in loop mode not discovering devices
scsi: lpfc: Fix duplicate unreg_rpi error in port offline flow
scsi: lpfc: fix: Coverity: lpfc_cmpl_els_rsp(): Null pointer dereferences
Jan Kara (2):
ext4: check for directory entries too close to block end
jbd2: Fix statistics for the number of logged blocks
Janusz Krzysztofik (1):
media: ov6650: Fix stored frame format not in sync with hardware
Jeffrey Hugo (1):
clk: qcom: Allow constant ratio freq tables for rcg
Jia-Ju Bai (1):
net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive()
Jiangfeng Xiao (1):
net: hisilicon: Fix a BUG trigered by wrong bytes_compl
Jin Yao (1):
perf report: Add warning when libunwind not compiled in
Johannes Berg (1):
iwlwifi: check kasprintf() return value
Johannes Weiner (1):
kernel: sysctl: make drop_caches write-only
John Garry (1):
libata: Ensure ata_port probe has completed before detach
Josef Bacik (4):
btrfs: do not leak reloc root if we fail to read the fs root
btrfs: handle ENOENT in btrfs_uuid_tree_iterate
btrfs: do not call synchronize_srcu() in inode_tree_del
btrfs: abort transaction after failed inode updates in create_subvol
Kangjie Lu (1):
drm/gma500: fix memory disclosures due to uninitialized bytes
Konstantin Khlebnikov (1):
fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
Krzysztof Wilczynski (1):
iio: light: bh1750: Resolve compiler warning and make code more readable
Lianbo Jiang (1):
x86/crash: Add a forward declaration of struct kimage
Linus Torvalds (2):
Make filldir[64]() verify the directory entry filename is valid
filldir[64]: remove WARN_ON_ONCE() for bad directory entries
Lukasz Majewski (1):
spi: Add call to spi_slave_abort() function when spidev driver is released
Manish Chopra (1):
bnx2x: Fix PF-VF communication over multi-cos queues.
Mao Wenan (1):
af_packet: set defaule value for tmo
Masahiro Yamada (2):
scripts/kallsyms: fix definitely-lost memory leak
libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
Masami Hiramatsu (12):
perf probe: Fix to find range-only function instance
perf probe: Fix to list probe event with correct line number
perf probe: Walk function lines in lexical blocks
perf probe: Fix to probe an inline function which has no entry pc
perf probe: Fix to show ranges of variables in functions without entry_pc
perf probe: Fix to show inlined function callsite without entry_pc
perf probe: Skip overlapped location on searching variables
perf probe: Return a better scope DIE if there is no best scope
perf probe: Fix to show calling lines of inlined functions
perf probe: Skip end-of-sequence and non statement lines
perf probe: Filter out instances except for inlined subroutine and subprogram
perf probe: Fix to show function entry line as probe-able
Mattijs Korpershoek (1):
Bluetooth: hci_core: fix init for HCI_USER_CHANNEL
Max Gurtovoy (1):
IB/iser: bound protection_sg size by data_sg size
Miaoqing Pan (1):
ath10k: fix get invalid tx rate for Mesh metric
Michael Ellerman (2):
crypto: vmx - Avoid weird build failures
powerpc/pseries: Mark accumulate_stolen_time() as notrace
Mike Isely (1):
media: pvrusb2: Fix oops on tear-down when radio support is not present
Miquel Raynal (1):
iio: adc: max1027: Reset the device at probe time
Nathan Chancellor (1):
tools/power/cpupower: Fix initializer override in hsw_ext_cstates
Navid Emamdoost (2):
rtlwifi: prevent memory leak in rtl_usb_probe
mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring
Omar Sandoval (1):
btrfs: don't prematurely free work in end_workqueue_fn()
Pan Bian (1):
spi: img-spfi: fix potential double release
Paul Cercueil (1):
irqchip: ingenic: Error out if IRQ domain creation failed
Ping-Ke Shih (1):
rtlwifi: fix memory leak in rtl92c_set_fw_rsvdpagepkt()
Robert Jarzmik (1):
clk: pxa: fix one of the pxa RTC clocks
Robert Richter (1):
EDAC/ghes: Fix grain calculation
Russell King (2):
net: phy: initialise phydev speed and duplex sanely
mod_devicetable: fix PHY module format
Sami Tolvanen (1):
x86/mm: Use the correct function type for native_set_fixmap()
Sean Paul (1):
drm: mst: Fix query_payload ack reply struct
Sreekanth Reddy (1):
scsi: mpt3sas: Fix clear pending bit in ioctl status
Stephan Gerhold (1):
extcon: sm5502: Reset registers during initialization
Sudip Mukherjee (1):
parport: load lowlevel driver if ports not found
Suwan Kim (1):
usbip: Fix error path of vhci_recv_ret_submit()
Takashi Iwai (4):
ALSA: hda/ca0132 - Keep power on during processing DSP response
ALSA: hda/ca0132 - Avoid endless loop
ALSA: pcm: Avoid possible info leaks from PCM stream buffers
ALSA: hda - Downgrade error message for single-cmd fallback
Theodore Ts'o (1):
ext4: work around deleting a file with i_nlink == 0 safely
Thierry Reding (1):
iommu/tegra-smmu: Fix page tables in > 4 GiB memory
Thomas Gleixner (1):
x86/ioapic: Prevent inconsistent state when moving an interrupt
Thomas Richter (1):
s390/cpum_sf: Check for SDBT and SDB consistency
Tony Lindgren (1):
hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
Veeraiyan Chidambaram (1):
usb: renesas_usbhs: add suspend event support in gadget mode
Viresh Kumar (1):
cpufreq: Register drivers only after CPU devices have been registered
Vladimir Oltean (1):
gpio: mpc8xxx: Don't overwrite default irq_set_type callback
Xin Long (1):
sctp: fully initialize v4 addr in some functions
Yang Yingliang (1):
media: flexcop-usb: fix NULL-ptr deref in flexcop_usb_transfer_init()
Yangbo Lu (1):
mmc: sdhci-of-esdhc: fix P2020 errata handling
Yizhuo (1):
regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe()
Yunfeng Ye (1):
arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()
peter chang (1):
scsi: pm80xx: Fix for SATA device discovery
Ensure that elements of the callbacks array that correspond to
unavailable features are set to NULL; previously, they would be left
uninitialized.
Since the corresponding names array elements were explicitly set to
NULL, the uninitialized callback pointers would not actually be
dereferenced; however, the uninitialized callbacks elements would still
be read in vp_find_vqs_msix() and used to calculate the number of MSI-X
vectors required.
Cc: stable(a)vger.kernel.org
Fixes: 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
Reviewed-by: Cornelia Huck <cohuck(a)redhat.com>
Signed-off-by: Daniel Verkamp <dverkamp(a)chromium.org>
---
v1:
https://lists.linuxfoundation.org/pipermail/virtualization/2019-December/04…
Changes from v1:
- Clarified "array" in commit message to "callbacks array"
drivers/virtio/virtio_balloon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 93f995f6cf36..8e400ece9273 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -475,7 +475,9 @@ static int init_vqs(struct virtio_balloon *vb)
names[VIRTIO_BALLOON_VQ_INFLATE] = "inflate";
callbacks[VIRTIO_BALLOON_VQ_DEFLATE] = balloon_ack;
names[VIRTIO_BALLOON_VQ_DEFLATE] = "deflate";
+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
names[VIRTIO_BALLOON_VQ_STATS] = NULL;
+ callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
--
2.24.1.735.g03f4e72817-goog
commit 4929a4e6faa0f13289a67cae98139e727f0d4a97 upstream.
The quota/period ratio is used to ensure a child task group won't get
more bandwidth than the parent task group, and is calculated as:
normalized_cfs_quota() = [(quota_us << 20) / period_us]
If the quota/period ratio was changed during this scaling due to
precision loss, it will cause inconsistency between parent and child
task groups.
See below example:
A userspace container manager (kubelet) does three operations:
1) Create a parent cgroup, set quota to 1,000us and period to 10,000us.
2) Create a few children cgroups.
3) Set quota to 1,000us and period to 10,000us on a child cgroup.
These operations are expected to succeed. However, if the scaling of
147/128 happens before step 3, quota and period of the parent cgroup
will be changed:
new_quota: 1148437ns, 1148us
new_period: 11484375ns, 11484us
And when step 3 comes in, the ratio of the child cgroup will be
104857, which will be larger than the parent cgroup ratio (104821),
and will fail.
Scaling them by a factor of 2 will fix the problem.
Tested-by: Phil Auld <pauld(a)redhat.com>
Signed-off-by: Xuewei Zhang <xueweiz(a)google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Acked-by: Phil Auld <pauld(a)redhat.com>
Cc: Anton Blanchard <anton(a)ozlabs.org>
Cc: Ben Segall <bsegall(a)google.com>
Cc: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
Cc: Juri Lelli <juri.lelli(a)redhat.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Mel Gorman <mgorman(a)suse.de>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Steven Rostedt <rostedt(a)goodmis.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Vincent Guittot <vincent.guittot(a)linaro.org>
Fixes: 2e8e19226398 ("sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup")
Link: https://lkml.kernel.org/r/20191004001243.140897-1-xueweiz@google.com
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
---
kernel/sched/fair.c | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index ea2d33aa1f55..773135f534ef 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3753,20 +3753,28 @@ static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer)
if (++count > 3) {
u64 new, old = ktime_to_ns(cfs_b->period);
- new = (old * 147) / 128; /* ~115% */
- new = min(new, max_cfs_quota_period);
-
- cfs_b->period = ns_to_ktime(new);
-
- /* since max is 1s, this is limited to 1e9^2, which fits in u64 */
- cfs_b->quota *= new;
- cfs_b->quota = div64_u64(cfs_b->quota, old);
-
- pr_warn_ratelimited(
- "cfs_period_timer[cpu%d]: period too short, scaling up (new cfs_period_us %lld, cfs_quota_us = %lld)\n",
- smp_processor_id(),
- div_u64(new, NSEC_PER_USEC),
- div_u64(cfs_b->quota, NSEC_PER_USEC));
+ /*
+ * Grow period by a factor of 2 to avoid losing precision.
+ * Precision loss in the quota/period ratio can cause __cfs_schedulable
+ * to fail.
+ */
+ new = old * 2;
+ if (new < max_cfs_quota_period) {
+ cfs_b->period = ns_to_ktime(new);
+ cfs_b->quota *= 2;
+
+ pr_warn_ratelimited(
+ "cfs_period_timer[cpu%d]: period too short, scaling up (new cfs_period_us = %lld, cfs_quota_us = %lld)\n",
+ smp_processor_id(),
+ div_u64(new, NSEC_PER_USEC),
+ div_u64(cfs_b->quota, NSEC_PER_USEC));
+ } else {
+ pr_warn_ratelimited(
+ "cfs_period_timer[cpu%d]: period too short, but cannot scale up without losing precision (cfs_period_us = %lld, cfs_quota_us = %lld)\n",
+ smp_processor_id(),
+ div_u64(old, NSEC_PER_USEC),
+ div_u64(cfs_b->quota, NSEC_PER_USEC));
+ }
/* reset count so we don't come right back in here */
count = 0;
--
2.24.0.393.g34dc348eaf-goog