On Fri, Mar 24, 2017 at 01:24:36PM +0300, Kirill A. Shutemov wrote: > I'm not sure what is the best way to fix this. > Few options: > - Drop the VM_BUG(); > - Bump preempt count during __get_user_pages_fast(); > - Use get_page() instead of page_cache_get_speculative() on x86. > > Any opinions?
I think I'm in favour of the first; either remove or amend to include irqs_disabled() or so. This in favour of keeping the variants of GUP down.

