mlx4: Remove page_is_free() safety check
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 27 Oct 2016 00:11:28 +0000 (20:11 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
commit7185a253f17a2143b3e6b4850f9ac6d7329007a9
treeded9d0bf87b55136eafa9e7a0e6f5e6cfd59d2e0
parentbdcd16279879efb1f227ec474dc21529c97713d5
mlx4: Remove page_is_free() safety check

With the arena allocator, it won't be easy to query the state of a given
page.  We actually could do that, if we wanted, with an arena helper
that looks up the btag for a given address, but it's a pain, it won't be
fast, and it will probably not work well with NUMA.

Considering this style of page pinning needs to change anyways, we might
as well remove it.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/net/udrvr/compat.c