Main-line Linux kernel tree http://www.kernel.org
Go to file
Kemeng Shi c0a5d93a88 mm/page_ext: add common function to get client data from page_ext
Patch series "add page_ext_data to get client data in page_ext".

Current clients get data from page_ext by adding offset which is auto
generated in page_ext core and exposes the data layout design inside
page_ext core.  This series adds a page_ext_data() to hide this from
clients.  

Benefits include:

1. Future clients can call page_ext_data directly instead of defining
   a new function like get_page_owner to get the data.

2. There is no change to clients if the layout of page_ext data changes.


This patch (of 3):

Add common page_ext_data function to get client data.  This could hide
offset which is auto generated in page_ext core and expose the desgin of
page_ext data layout.

Link: https://lkml.kernel.org/r/20230718145812.1991717-1-shikemeng@huaweicloud.com
Link: https://lkml.kernel.org/r/20230718145812.1991717-2-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Andrew Morton <akpm@linux-foudation.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-08-21 13:37:27 -07:00
arch powerpc/book3s64/radix: add debug message to give more details of vmemmap allocation 2023-08-18 10:12:56 -07:00
block
certs
crypto
Documentation mm: kill frontswap 2023-08-21 13:37:26 -07:00
drivers mm/hugepage pud: allow arch-specific helper function to check huge page pud support 2023-08-18 10:12:53 -07:00
fs mm: kill frontswap 2023-08-21 13:37:26 -07:00
include mm/page_ext: add common function to get client data from page_ext 2023-08-21 13:37:27 -07:00
init
io_uring
ipc
kernel
lib maple_tree: reduce resets during store setup 2023-08-18 10:12:50 -07:00
LICENSES
mm zswap: make zswap_load() take a folio 2023-08-21 13:37:27 -07:00
net mm: allow per-VMA locks on file-backed VMAs 2023-08-18 10:12:51 -07:00
rust
samples
scripts
security
sound
tools maple_tree: update mas_preallocate() testing 2023-08-18 10:12:49 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS mm: kill frontswap 2023-08-21 13:37:26 -07:00
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.