On 10/27/07, Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > > Yeah, it's a pretty serious bug if the DMA engine flags an error. But > wouldn't it be better to BUG() in the context of the caller? That way, > you won't necessarily bring down the whole system. >
I see your point... We could track the caller's task_struct in dma_async_tx_descriptor, and deliver a SIGBUS in the case of an error. It limits the client's recovery options, but at least the damaged is localized to the correct process. I need to go read up on what this would imply for kernel threads like raid5d... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/