Messages in this thread | | | Date | Mon, 19 May 2008 22:08:45 +0200 | From | Andrea Righi <> | Subject | Re: [PATCH] distinct tgid/tid I/O statistics |
| |
Andrea Righi wrote: > Balbir Singh wrote: >>> + >>> + if (!whole) { >>> +#ifdef CONFIG_TASK_XACCT >> Can't we abstract this into a function for ease? >
BTW, CONFIG_TASK_IO_ACCOUNTING depends on CONFIG_TASK_XACCT, so I think we can just remove those #ifdefs inside CONFIG_TASK_IO_ACCOUNTING.
-Andrea
| |