[Bug 215389] pagealloc: memory corruption at building glibc-2.33 and running its' testsuite

2022-01-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215389 --- Comment #5 from Erhard F. (erhar...@mailbox.org) --- Ok, with zswap lzo/zbud I also get this memory corruption on 5.15.13. So most probably it's not lzo/z3pool but something else. I'll start a bisect then... -- You may reply to this email

[PATCH 07/23] membarrier: Rewrite sync_core_before_usermode() and improve documentation

2022-01-08 Thread Andy Lutomirski
The old sync_core_before_usermode() comments suggested that a non-icache-syncing return-to-usermode instruction is x86-specific and that all other architectures automatically notice cross-modified code on return to userspace. This is misleading. The incantation needed to modify code from one CPU

[PATCH 06/23] powerpc/membarrier: Remove special barrier on mm switch

2022-01-08 Thread Andy Lutomirski
powerpc did the following on some, but not all, paths through switch_mm_irqs_off(): /* * Only need the full barrier when switching between processes. * Barrier when switching from kernel to userspace is not * required here, given that it is implied by mmdrop().

Re: [PATCH 03/13] powerpc/bpf: Update ldimm64 instructions during extra pass

2022-01-08 Thread Jiri Olsa
On Thu, Jan 06, 2022 at 05:15:07PM +0530, Naveen N. Rao wrote: > These instructions are updated after the initial JIT, so redo codegen > during the extra pass. Rename bpf_jit_fixup_subprog_calls() to clarify > that this is more than just subprog calls. > > Fixes: 69c087ba6225b5 ("bpf: Add