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

Pekka Enberg penberg at gmail.com
Tue Jul 14 11:12:14 EDT 2020


Hi Palmer,

On Sat, Jul 11, 2020 at 10:43 PM Palmer Dabbelt <palmer at dabbelt.com> 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



More information about the linux-riscv mailing list