From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [PATCH] mlx4: Limit num of fast reg WRs Date: Tue, 12 Oct 2010 13:37:37 -0700 Message-ID: References: <20101007142416.GA11518@mtldesk30> <20101012081955.GB1617@mtldesk30> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20101012081955.GB1617@mtldesk30> (Eli Cohen's message of "Tue, 12 Oct 2010 10:19:55 +0200") Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Eli Cohen Cc: Or Gerlitz , RDMA list List-Id: linux-rdma@vger.kernel.org > After I posted this patch, I was told that there is yet another > constraint on the page list: The buffer containing the list must not > cross a page boundary. So I was thinking what is the best way to deal > with this. One way is to always allocate a whole page and map it using > dma_map_page(page, DMA_TO_DEVICE), something like this (not a complete > patch, just the idea). Is there any chance of the dma_alloc_coherent() in the current code allocating memory that crosses a page boundary? - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html