Messages in this thread | | | From | Axel Rasmussen <> | Date | Mon, 10 Jul 2023 10:08:24 -0700 | Subject | Re: [PATCH v4 7/8] selftests/mm: refactor uffd_poll_thread to allow custom fault handlers |
| |
On Sat, Jul 8, 2023 at 8:02 AM Peter Xu <peterx@redhat.com> wrote: > > On Fri, Jul 07, 2023 at 02:55:39PM -0700, Axel Rasmussen wrote: > > Previously, we had "one fault handler to rule them all", which used > > several branches to deal with all of the scenarios required by all of > > the various tests. > > > > In upcoming patches, I plan to add a new test, which has its own > > slightly different fault handling logic. Instead of continuing to add > > cruft to the existing fault handler, let's allow tests to define custom > > ones, separate from other tests. > > > > Signed-off-by: Axel Rasmussen <axelrasmussen@google.com> > > Acked-by: Peter Xu <peterx@redhat.com> > > PS: please remember to update manpage after it lands. I still have a plan > to update but not yet happening; if you happen to update before mine please > feel free to update for whatever is missing.
Will do!
> > Thanks! > > -- > Peter Xu >
| |