summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2024-12-13 15:25:21 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-25 09:47:27 +0300
commit97db889b961ef3f849813de34bd3ea5715813ed0 (patch)
treed1fe988b325c970f0140fe70bf7e85df08f6c5f9 /scripts/gdb/linux/lists.py
parentc9ba5249ef8b080c6779d3da14a061f6d4d6d5fa (diff)
downloadlinux-97db889b961ef3f849813de34bd3ea5715813ed0.tar.xz
Xarray: distinguish large entries correctly in xas_split_alloc()
We don't support large entries which expand two more level xa_node in split. For case "xas->xa_shift + 2 * XA_CHUNK_SHIFT == order", we also need two level of xa_node to expand. Distinguish entry as large entry in case "xas->xa_shift + 2 * XA_CHUNK_SHIFT == order". As max order of folio in pagecache (MAX_PAGECACHE_ORDER) is <= (XA_CHUNK_SHIFT * 2 - 1), this change is more likely a cleanup... Link: https://lkml.kernel.org/r/20241213122523.12764-4-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Cc: Mattew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions