Re: [PATCH 17/26] mm/riscv: Use general page fault accounting

From: Pekka Enberg
Date: Tue Jul 14 2020 - 11:12:34 EST


Hi Palmer,

On Sat, Jul 11, 2020 at 10:43 PM Palmer Dabbelt <palmer@xxxxxxxxxxx> wrote:
> This still slightly changes the accounting numbers, but I don't think it does
> so in a way that's meaningful enough to care about. SIGBUS is the only one
> that might happen frequently enough to notice, I doubt anyone cares about
> whether faults are accounted for during OOM.

What do you mean?

AFAICT, this patch _fixes_ the accounting to be correct on page fault
restarts. I sent a patch to fix this up some time ago, but of course
this generic solutions is better:

http://lists.infradead.org/pipermail/linux-riscv/2020-June/000775.html

- Pekka