Find a file
Baolin Wang f7f9c00dfa mm: change to return bool for isolate_lru_page()
The isolate_lru_page() can only return 0 or -EBUSY, and most users did not
care about the negative error of isolate_lru_page(), except one user in
add_page_for_migration().  So we can convert the isolate_lru_page() to
return a boolean value, which can help to make the code more clear when
checking the return value of isolate_lru_page().

Also convert all users' logic of checking the isolation state.

No functional changes intended.

Link: https://lkml.kernel.org/r/3074c1ab628d9dbf139b33f248a8bc253a3f95f0.1676424378.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-02-20 12:46:17 -08:00
arch sh: initialize max_mapnr 2023-02-16 20:43:55 -08:00
block
certs
crypto
Documentation Docs/admin-guide/mm/damon/usage: add DAMON debugfs interface deprecation notice 2023-02-13 15:54:32 -08:00
drivers Merge branch 'mm-hotfixes-stable' into mm-stable 2023-02-10 15:34:48 -08:00
fs mm/hugetlb: convert hugetlb_add_to_page_cache to take in a folio 2023-02-13 15:54:29 -08:00
include mm: memcontrol: rename memcg_kmem_enabled() 2023-02-16 20:43:56 -08:00
init
io_uring
ipc
kernel
lib maple_tree: reduce stack usage with gcc-9 and earlier 2023-02-16 20:43:55 -08:00
LICENSES
mm mm: change to return bool for isolate_lru_page() 2023-02-20 12:46:17 -08:00
net
rust
samples
scripts
security
sound
tools objtool: add UACCESS exceptions for __tsan_volatile_read/write 2023-02-20 12:46:16 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
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.