Re: [PATCH 1/9] [I/OAT] DMA memcpy subsystem
From: Kumar Gala <hidden>
Date: 2006-03-31 20:06:22
Also in:
lkml
From: Kumar Gala <hidden>
Date: 2006-03-31 20:06:22
Also in:
lkml
On Mar 31, 2006, at 2:04 PM, Andrew Grover wrote:
On 3/31/06, Ingo Oeser [off-list ref] wrote:quoted
Kumar Gala wrote:quoted
Fair, but wouldn't it be better to have the association per client. Maybe leave the one as a summary and have a dir per client with similar stats that are for each client and add a per channel summary at the top level as well.Such level of detail really belongs to debugging, IMHO.[snip] If we implemented more stats then yes debugfs sounds like it might be the way to go.quoted
BTW: What is the actual frequency, at which such counters will be incremented?Currently the code updates these variables (kept per cpu) every time a copy is queued. See include/linux/dmaengine.h.
Might it be better to update when the transfer is done incase of an error? - kumar