From ee71f0098a7782c4a95c2f1d7ee614569214be1c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 2 Oct 2023 00:03:08 -0500 Subject: system/easy-kernel: Update to 5.15.132-mc6 * Adds exFAT module to all architectures. * Adds Hyper-V guest support to aarch64. * Fixes audio output issues on some PowerBook models. --- system/easy-kernel/0255-ultra-ksm.patch | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'system/easy-kernel/0255-ultra-ksm.patch') diff --git a/system/easy-kernel/0255-ultra-ksm.patch b/system/easy-kernel/0255-ultra-ksm.patch index 9ea6867fa..ae18766f4 100644 --- a/system/easy-kernel/0255-ultra-ksm.patch +++ b/system/easy-kernel/0255-ultra-ksm.patch @@ -1101,7 +1101,7 @@ index c52be6d6b605..c5512e69751c 100644 } /* -@@ -1346,8 +1371,10 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb, +@@ -1357,8 +1382,10 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb, ptent = ptep_get_and_clear_full(mm, addr, pte, tlb->fullmm); tlb_remove_tlb_entry(tlb, pte, addr); @@ -1113,15 +1113,15 @@ index c52be6d6b605..c5512e69751c 100644 if (!PageAnon(page)) { if (pte_dirty(ptent)) { -@@ -2753,6 +2780,7 @@ static inline bool cow_user_page(struct page *dst, struct page *src, - - if (likely(src)) { - copy_user_highpage(dst, src, addr, vma); +@@ -2775,6 +2802,7 @@ static inline int cow_user_page(struct page *dst, struct page *src, + memory_failure_queue(page_to_pfn(src), 0); + return -EHWPOISON; + } + uksm_cow_page(vma, src); - return true; + return 0; } -@@ -2999,6 +3027,7 @@ static vm_fault_t wp_page_copy(struct vm_fault *vmf) +@@ -3022,6 +3050,7 @@ static vm_fault_t wp_page_copy(struct vm_fault *vmf) vmf->address); if (!new_page) goto oom; @@ -1129,7 +1129,7 @@ index c52be6d6b605..c5512e69751c 100644 } else { new_page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vmf->address); -@@ -3041,7 +3070,9 @@ static vm_fault_t wp_page_copy(struct vm_fault *vmf) +@@ -3067,7 +3095,9 @@ static vm_fault_t wp_page_copy(struct vm_fault *vmf) mm_counter_file(old_page)); inc_mm_counter_fast(mm, MM_ANONPAGES); } @@ -6932,3 +6932,5 @@ index 8ce2620344b2..c0bc685782d1 100644 /* enum writeback_stat_item counters */ "nr_dirty_threshold", "nr_dirty_background_threshold", +--- mm/memory.c.old 2023-10-01 22:00:48.615874145 -0500 ++++ mm/memory.c 2023-10-01 22:02:17.856293566 -0500 -- cgit v1.2.3-60-g2f50