在 2015年09月24日 16:07, Or Gerlitz 写道:
On 9/24/2015 9:52 AM, Wengang Wang wrote:} else { - kfree(qp->sq.wrid); - kfree(qp->rq.wrid); + if (is_vmalloc_addr(qp->sq.wrid)) + vfree(qp->sq.wrid); + else + kfree(qp->sq.wrid); + + if (is_vmalloc_addr(qp->rq.wrid)) + vfree(qp->rq.wrid); + else + kfree(qp->rq.wrid); }NO just call kvfree, see commit 914efb0 "mlx4: don't duplicate kvfree()"
Yeap, will re-post. thanks, wengang
-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
