Go to file
Rafael Aquini 08836b74c0 mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2023396

This patch is a backport of the following upstream commit:
commit 9647875be52b33fe22cb034ec3074896c581543f
Author: Hui Su <suhui@zeku.com>
Date:   Thu Sep 2 14:59:36 2021 -0700

    mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg()

    We can get memcg directly form vmpr instead of vmpr->memcg->css->memcg, so
    add a new func helper vmpressure_to_memcg().  And no code will use
    vmpressure_to_css(), so delete it.

    Link: https://lkml.kernel.org/r/20210630112146.455103-1-suhui@zeku.com
    Signed-off-by: Hui Su <suhui@zeku.com>
    Acked-by: Michal Hocko <mhocko@suse.com>
    Acked-by: Chris Down <chris@chrisdown.name>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2021-11-29 11:42:13 -05:00
Documentation mm/migrate: add sysfs interface to enable reclaim migration 2021-11-29 11:42:12 -05:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
arch mm/page_alloc: always initialize memory map for the holes 2021-11-29 11:41:51 -05:00
block mm: remove flush_kernel_dcache_page 2021-11-29 11:41:32 -05:00
certs Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
crypto crypto: rng - Override drivers/char/random in FIPS mode 2021-08-30 15:44:54 -04:00
drivers mm: sparse: pass section_nr to find_memory_block 2021-11-29 11:41:38 -05:00
fs userfaultfd: prevent concurrent API initialization 2021-11-29 11:42:05 -05:00
include mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg() 2021-11-29 11:42:13 -05:00
init sched: Introduce task_struct::user_cpus_ptr to track requested affinity 2021-11-01 18:14:46 -04:00
ipc memcg: enable accounting for new namesapces and struct nsproxy 2021-11-29 11:41:20 -05:00
kernel memcg: enable accounting for posix_timers_cache slab 2021-11-29 11:41:22 -05:00
lib kasan: test: avoid corrupting memory in kasan_rcu_uaf 2021-11-29 11:41:50 -05:00
mm mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg() 2021-11-29 11:42:13 -05:00
net net-memcg: pass in gfp_t mask to mem_cgroup_charge_skmem() 2021-11-29 11:40:28 -05:00
redhat [redhat] kernel-5.14.0-22.el9 2021-11-26 21:02:05 +00:00
samples nitro_enclaves: Add fixes for checkpatch blank line reports 2021-11-08 10:24:22 +01:00
scripts tags.sh: Ignore redhat/rpm 2021-08-30 14:29:34 -04:00
security mm/pagemap: add mmap_assert_locked() annotations to find_vma*() 2021-11-29 11:41:34 -05:00
sound another sound-fixes for 5.14-rc7 2021-08-20 12:31:10 -07:00
tools selftests/vm/userfaultfd: wake after copy failure 2021-11-29 11:42:05 -05:00
usr .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
virt KVM: Do not leak memory for duplicate debugfs directories 2021-08-04 06:02:03 -04:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.conf Add RHMAINTAINERS file and supporting conf 2021-08-30 10:50:06 -04:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes gitattributes: Remove unnecesary export restrictions 2021-08-30 10:50:35 -04:00
.gitignore gitlab: Add CI job for packaging scripts 2021-08-30 10:49:13 -04:00
.gitlab-ci.yml Add automotive CI jobs 2021-11-24 16:34:00 +01:00
.mailmap m68k updates for v5.14 2021-06-28 14:01:03 -07:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: move Murali Karicheri to credits 2021-04-29 15:47:30 -07:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig Introduce CONFIG_RH_DISABLE_DEPRECATED 2021-08-30 10:50:55 -04:00
Kconfig.redhat Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES 2021-08-30 14:29:36 -04:00
MAINTAINERS arm64: hyperv: Add Hyper-V hypercall and register access utilities 2021-10-29 13:26:14 +02:00
Makefile put RHEL info into generated headers 2021-08-30 14:29:34 -04:00
Makefile.rhelver [redhat] kernel-5.14.0-22.el9 2021-11-26 21:02:05 +00:00
README
makefile redhat: Change Makefile target names to dist- 2021-08-30 10:50:11 -04:00

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.