> Compare pool->dma_pages instead of pool->dma_pages_cnt to check for an > active DMA mapping. pool->dma_pages needs to be read anyway to access > the map so this compiles to more efficient code. > > Signed-off-by: Kal Conley <kal.conley@xxxxxxxxxxx> > Acked-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> I forgot to specify the target tree. This patch should be applied to bpf-next.