The patch titled Subject: kasan-avoid-overflowing-quarantine-size-on-low-memory-systems-fix has been removed from the -mm tree. Its filename was kasan-avoid-overflowing-quarantine-size-on-low-memory-systems-fix.patch This patch was dropped because it was folded into kasan-avoid-overflowing-quarantine-size-on-low-memory-systems.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kasan-avoid-overflowing-quarantine-size-on-low-memory-systems-fix cleanup: use WARN_ONCE return value Cc: Alexander Potapenko <glider@xxxxxxxxxx> Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/kasan/quarantine.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff -puN mm/kasan/quarantine.c~kasan-avoid-overflowing-quarantine-size-on-low-memory-systems-fix mm/kasan/quarantine.c --- a/mm/kasan/quarantine.c~kasan-avoid-overflowing-quarantine-size-on-low-memory-systems-fix +++ a/mm/kasan/quarantine.c @@ -217,14 +217,11 @@ void quarantine_reduce(void) new_quarantine_size = (READ_ONCE(totalram_pages) << PAGE_SHIFT) / QUARANTINE_FRACTION; percpu_quarantines = QUARANTINE_PERCPU_SIZE * num_online_cpus(); - if (new_quarantine_size < percpu_quarantines) { - WARN_ONCE(1, - "Too little memory, disabling global KASAN quarantine.\n", - ); + if (WARN_ONCE(new_quarantine_size < percpu_quarantines, + "Too little memory, disabling global KASAN quarantine.\n")) new_quarantine_size = 0; - } else { + else new_quarantine_size -= percpu_quarantines; - } WRITE_ONCE(quarantine_size, new_quarantine_size); last = global_quarantine.head; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are kasan-avoid-overflowing-quarantine-size-on-low-memory-systems.patch treewide-replace-obsolete-_refok-by-__ref-checkpatch-fixes.patch printk-create-pr_level-functions-fix.patch kexec-ensure-user-memory-sizes-do-not-wrap-fix.patch kexec-allow-architectures-to-override-boot-mapping-fix.patch allow-kdump-with-crash_kexec_post_notifiers-fix.patch kexec-add-restriction-on-kexec_load-segment-sizes-fix.patch powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html