android_kernel_motorola_sm6375/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yu Zhao 4cda66ef70 BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions
The "enum lru_list" parameter to add_page_to_lru_list() and
add_page_to_lru_list_tail() is redundant in the sense that it can
be extracted from the "struct page" parameter by page_lru().

A caveat is that we need to make sure PageActive() or
PageUnevictable() is correctly set or cleared before calling
these two functions. And they are indeed.
Moto-CRs-Fixed:(CR)

Link: https://lore.kernel.org/linux-mm/20201207220949.830352-4-yuzhao@google.com/
Link: https://lkml.kernel.org/r/20210122220600.906146-4-yuzhao@google.com
Change-Id: If050c0d8d802e9290c37aabeb693b00a714cfb70
Signed-off-by: Yu Zhao <yuzhao@google.com>
Cc: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 3a9c9788a3149d9745b7eb2eae811e57ef3b127c)
Bug: 261052246
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Reviewed-on: https://gerrit.mot.com/2491791
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:14 +08:00
..
acpi
asm-generic UPSTREAM: mm: add generic p?d_leaf() macros 2024-04-18 14:45:13 +08:00
clocksource
crypto
drm Add new macro MIPI_DSI_MSG_READ 2024-04-18 14:44:54 +08:00
dt-bindings iio:add bc12 type read iio. 2024-04-18 14:45:10 +08:00
keys
kvm
linux BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions 2024-04-18 14:45:14 +08:00
math-emu
media Merge android11-5.4.259+ (81334f2) into msm-5.4 2023-12-18 15:40:18 +05:30
misc
net Merge android11-5.4.259+ (81334f2) into msm-5.4 2023-12-18 15:40:18 +05:30
pcmcia
ras
rdma
scsi scsi/ufs: porting Samsung TW + HPB feature 2024-04-18 14:45:03 +08:00
soc Merge android11-5.4.249+ (d57e792) into msm-5.4 2023-09-28 16:45:28 +05:30
sound usb audio: Let the usb sound card index from 1 2024-04-18 14:44:58 +08:00
target
trace Merge android11-5.4.259+ (81334f2) into msm-5.4 2023-12-18 15:40:18 +05:30
uapi BACKPORT: FROMGIT: binder: fix freeze race 2024-04-18 14:45:11 +08:00
vdso
video
xen
OWNERS