Re: [PATCH v3 4/4] dma debug: introduce debug_dma_assert_idle()

2014-01-14 Thread Dan Williams
On Mon, 2014-01-13 at 17:14 -0800, Andrew Morton wrote: > On Mon, 13 Jan 2014 16:48:47 -0800 Dan Williams > wrote: > > > Record actively mapped pages and provide an api for asserting a given > > page is dma inactive before execution proceeds. Placing > > debug_dma_assert_idle() in cow_user_page

Re: [PATCH v3 4/4] dma debug: introduce debug_dma_assert_idle()

2014-01-13 Thread Dan Williams
On Mon, Jan 13, 2014 at 5:14 PM, Andrew Morton wrote: > On Mon, 13 Jan 2014 16:48:47 -0800 Dan Williams > wrote: > >> Record actively mapped pages and provide an api for asserting a given >> page is dma inactive before execution proceeds. Placing >> debug_dma_assert_idle() in cow_user_page() fl

Re: [PATCH v3 4/4] dma debug: introduce debug_dma_assert_idle()

2014-01-13 Thread Andrew Morton
On Mon, 13 Jan 2014 16:48:47 -0800 Dan Williams wrote: > Record actively mapped pages and provide an api for asserting a given > page is dma inactive before execution proceeds. Placing > debug_dma_assert_idle() in cow_user_page() flagged the violation of the > dma-api in the NET_DMA implementat