On Mon, Jun 15, 2020 at 06:15:57PM -0400, Peter Xu wrote: > Use the new mm_fault_accounting() helper for page fault accounting. > > Avoid doing page fault accounting multiple times if the page fault is retried. > Also, the perf events for page faults will be accounted too when the config > has > CONFIG_PERF_EVENTS defined. > > CC: Jonas Bonn <jo...@southpole.se> > CC: Stefan Kristiansson <stefan.kristians...@saunalahti.fi> > CC: Stafford Horne <sho...@gmail.com> > CC: openr...@lists.librecores.org > Signed-off-by: Peter Xu <pet...@redhat.com>
Acked-by: Stafford Horne <sho...@gmail.com>