Re: [PATCH] add compat wrapper for get_user_pages_fast

Avi Kivity
2008-09-19T23:52:12Z

Jan Kiszka wrote:
> Not sure if this is correct, but here is at least a compile fix.
>
>

I think it is.

> Note that the original mmem_map locking scope was partly far broader on
> older kernels than with Marcelo's patch and this fix now. Could anyone
> comment on the correctness?
>

Since get_user_pages_fast() falls back to your code sequence, this is at
least as safe as mainline. So I applied it, thanks.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.