[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOJsxLHOMCtoty49+8u9+5EA2H76nE5-MAbyPSzP4gvYAfG+2A@mail.gmail.com>
Date: Tue, 14 Jul 2020 18:12:14 +0300
From: Pekka Enberg <penberg@...il.com>
To: Palmer Dabbelt <palmer@...belt.com>
Cc: Peter Xu <peterx@...hat.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Gerald Schaefer <gerald.schaefer@...ibm.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Will Deacon <will@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Walmsley <paul.walmsley@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
linux-riscv <linux-riscv@...ts.infradead.org>
Subject: Re: [PATCH 17/26] mm/riscv: Use general page fault accounting
Hi Palmer,
On Sat, Jul 11, 2020 at 10:43 PM Palmer Dabbelt <palmer@...belt.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
Powered by blists - more mailing lists