[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200619001203.GA172559@xz-x1>
Date: Thu, 18 Jun 2020 20:12:03 -0400
From: Peter Xu <peterx@...hat.com>
To: Palmer Dabbelt <palmer@...belt.com>
Cc: linux-kernel@...r.kernel.org, gerald.schaefer@...ibm.com,
akpm@...ux-foundation.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
aarcange@...hat.com, Paul Walmsley <paul.walmsley@...ive.com>,
aou@...s.berkeley.edu, linux-riscv@...ts.infradead.org
Subject: Re: [PATCH 18/25] mm/riscv: Use mm_fault_accounting()
On Thu, Jun 18, 2020 at 04:49:23PM -0700, Palmer Dabbelt wrote:
> AFAICT this changes the behavior of the perf event: it used to count any fault,
> whereas now it only counts those that succeed successfully. If everyone else
> is doing it that way then I'm happy to change us over, but this definately
> isn't just avoiding retries.
Right, I'm preparing v2 to keep the old behavior of PERF_COUNT_SW_PAGE_FAULTS,
while with a nicer approach.
Thanks for looking!
--
Peter Xu
Powered by blists - more mailing lists