Re: [PATCH 1/9] [I/OAT] DMA memcpy subsystem

From: Kumar Gala
Date: Thu Mar 30 2006 - 14:54:44 EST



On Mar 30, 2006, at 12:36 PM, Andrew Grover wrote:

On 3/30/06, Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> wrote:
What is the utility of exporting memcpy_count, and bytes_transferred
to userspace via sysfs? Is this really for debug (and thus should be
under debugfs?)

Well....it's true they're useful for debugging but I would put them in
the category of system statistics that shouldn't go in debugfs. I
think they are like /proc/interrupts' interrupt counts or the TX/RX
stats reported by ifconfig.

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.

- kumar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/