Go to file
Mark Langsdorf 6836b981b2 PM: domains: Allocate gpd_timing_data dynamically based on governor
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122318

commit 66d29d802ef3bf55a49b07568b0048823d4a72a6
Author: Ulf Hansson <ulf.hansson@linaro.org>
Date: Wed, 11 May 2022 16:56:56 +0200

If a genpd doesn't have an associated governor assigned, there's really no
point to allocate the per device gpd_timing_data, as the data isn't being
used by a governor anyway.

To avoid wasting memory, let's therefore convert the corresponding td
variable in the struct generic_pm_domain_data into a pointer and manage the
allocation of its data dynamically.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2022-10-25 14:14:21 -04:00
Documentation driver core: Extend deferred probe timeout on driver registration 2022-10-25 14:14:17 -04:00
LICENSES
arch Merge: block: update with upstream v6.0 2022-10-21 09:47:34 -04:00
block blk-lib: fix blkdev_issue_secure_erase 2022-10-12 09:20:25 +08:00
certs
crypto Merge: crypto: cryptd - Protect per-CPU resource by disabling BH 2022-10-21 09:47:25 -04:00
drivers PM: domains: Allocate gpd_timing_data dynamically based on governor 2022-10-25 14:14:21 -04:00
fs Merge: block: update with upstream v6.0 2022-10-21 09:47:34 -04:00
include PM: domains: Allocate gpd_timing_data dynamically based on governor 2022-10-25 14:14:21 -04:00
init printk: Userspace format indexing support 2022-09-12 13:19:06 -04:00
ipc
kernel Merge: block: update with upstream v6.0 2022-10-21 09:47:34 -04:00
lib Merge: block: update with upstream v6.0 2022-10-21 09:47:34 -04:00
mm mm: prevent page_frag_alloc() from corrupting the memory 2022-10-04 15:31:49 +02:00
net Merge: io_uring: update to v5.15 2022-10-21 09:47:33 -04:00
redhat redhat/configs: Enable XZ and ZSTD compress firmware loading 2022-10-25 10:32:19 -04:00
samples Merge: VFIO 9.2 backports 2022-10-21 09:47:28 -04:00
scripts kbuild: expose explicit .symversions targets 2022-08-10 17:01:39 +02:00
security loadpin: stop using bdevname 2022-10-12 09:17:30 +08:00
sound virtio: wrap config->reset calls 2022-08-25 10:45:04 -06:00
tools Merge: Updates to drivers/perf to support Arm SystemReady IR 2022-10-21 09:47:26 -04:00
usr
virt kvm/vfio: Fix potential deadlock problem in vfio 2022-09-14 12:35:49 -06:00
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml CI: Add automotive-check for rt branches 2022-09-22 17:14:55 +02:00
.mailmap mailmap: remove my redhat.com address from RHEL9's .mailmap file 2022-09-26 09:34:38 -04:00
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS Merge: VFIO 9.2 backports 2022-10-21 09:47:28 -04:00
Makefile kbuild: expose explicit .symversions targets 2022-08-10 17:01:39 +02:00
Makefile.rhelver [redhat] kernel-5.14.0-178.el9 2022-10-21 09:52:19 -04:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.