Peter Xu wrote:
> @@ -448,8 +449,15 @@ static void *postcopy_ram_fault_thread(void *opaque)
> }
>
> if (pfd[1].revents) {
> -trace_postcopy_ram_fault_thread_quit();
> -break;
> +uint64_t tmp64 = 0;
> +
> +/* Consume the signal */
Peter Xu wrote:
> It was only used for quitting the page fault thread before. Let it be
> something more useful - now we can use it to notify a "wake" for the
> page fault thread (for any reason), and it only means "quit" if the
> fault_thread_quit is set.
>
> Since we changed what it does, renami
It was only used for quitting the page fault thread before. Let it be
something more useful - now we can use it to notify a "wake" for the
page fault thread (for any reason), and it only means "quit" if the
fault_thread_quit is set.
Since we changed what it does, renaming it to userfault_event_fd.