No description
Find a file
Gowans, James 4f85c65bc3 mm: split huge PUD on wp_huge_pud fallback
commit 14c99d6594 upstream.

Currently the implementation will split the PUD when a fallback is taken
inside the create_huge_pud function.  This isn't where it should be done:
the splitting should be done in wp_huge_pud, just like it's done for PMDs.
Reason being that if a callback is taken during create, there is no PUD
yet so nothing to split, whereas if a fallback is taken when encountering
a write protection fault there is something to split.

It looks like this was the original intention with the commit where the
splitting was introduced, but somehow it got moved to the wrong place
between v1 and v2 of the patch series.  Rebase mistake perhaps.

Link: https://lkml.kernel.org/r/6f48d622eb8bce1ae5dd75327b0b73894a2ec407.camel@amazon.com
Fixes: 327e9fd489 ("mm: Split huge pages on write-notify or COW")
Signed-off-by: James Gowans <jgowans@amazon.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-19 17:51:16 +08:00
arch
block
certs
crypto
Documentation
drivers xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue 2023-04-19 17:51:15 +08:00
fs fix race between exit_itimers() and /proc/pid/timers 2023-04-19 17:51:16 +08:00
include fix race between exit_itimers() and /proc/pid/timers 2023-04-19 17:51:16 +08:00
init
ipc
kernel fix race between exit_itimers() and /proc/pid/timers 2023-04-19 17:51:16 +08:00
lib
LICENSES
mm mm: split huge PUD on wp_huge_pud fallback 2023-04-19 17:51:16 +08:00
net
samples
scripts
security
sound ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop 2023-04-19 17:51:15 +08:00
tools selftests/net: fix section name when using xdp_dummy.o 2023-04-19 17:51:15 +08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.15.55 2023-04-19 17:51:15 +08: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.