scatterlist-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch removed from -mm tree
The patch titled
Subject: scatterlist: replace flush_kernel_dcache_page with flush_dcache_page
has been removed from the -mm tree. Its filename was
scatterlist-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: scatterlist: replace flush_kernel_dcache_page with flush_dcache_page
Pages used in scatterlist can be mapped page cache pages (and often are), so we must use flush_dcache_page here instead of the more limited flush_kernel_dcache_page that is intended for highmem pages only.
Also remove the PageSlab check given that page_mapping_file as used by the flush_dcache_page implementations already contains that check.
---
lib/scatterlist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
lib/scatterlist.c renamed from lib/scatterlist.c~scatterlist-replace-flush_kernel_dcache_page-with-flush_dcache_page +2 -3
@@ -887,9 +887,8 @@ void sg_miter_stop(struct sg_mapping_ite miter->__offset += miter->consumed; miter->__remaining -= miter->consumed; -if ((miter->__flags &SG_MITER_TO_SG ) && - !PageSlab (miter->page)) -flush_kernel_dcache_page (miter->page); +if (miter->__flags &SG_MITER_TO_SG ) +flush_dcache_page (miter->page);if (miter->__flags &SG_MITER_ATOMIC ) {WARN_ON_ONCE (preemptible ());
_
Patches currently in -mm which might be from [email protected] are
riscv-only-select-generic_ioremap-if-mmu-support-is-enabled.patch mm-move-ioremap_page_range-to-vmallocc.patch mm-dont-allow-executable-ioremap-mappings.patch proc-stop-using-seq_get_buf-in-proc_task_name.patch kernel-unexport-get_mmtask_exe_file.patch mm-unexport-folio_memcg_unlock.patch mm-unexport-unlock_page_memcg.patch