[ofa-general] Re: mapping kernel memory to userspace in <= 2.6.14

Michael S. Tsirkin mst at dev.mellanox.co.il
Tue Mar 13 22:19:43 PDT 2007


> I figured out why I was hitting the BUG_ON() in page_remove_rmap().  Its
> because my library was destroying the QP or CQ object _before_ unmaping
> the objects.  I changed it to unmap first, and things work as expected.

I guess kernel side also needs to be fixed, otherwise buggy userspace
can trigger BUG_ON's?

-- 
MST



More information about the general mailing list