Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
On Mon, 26 Jun 2006 14:00:45 -0400
Shailabh Nagar <[email protected]> wrote:


Balbir, are you able to summarise where we stand wrt
per-task-delay-accounting-* now?



Andrew,

I'm maintaining per-task delay accouting and taskstats interface patches so I'll take the liberty to reply :-)


Sorry, too many IBMers ;)


What problem have we identified?  How close are we to finding agreeable
solutions to them?



The main problems identified are:

1. extra sending of per-tgid stats on every thread exit
2. unnecessary send of per-tgid stats when there are no listeners
3. unnecessary linkage of delayacct accumalation into per-tgid stats with sending out of taskstats

All three have an acceptable solution.
1. & 3. are going to be addressed in a patch I'm sending out shortly.
2. in a separate patch also being sent out shortly.


Great.


My general sense is that there's some rework needed, and that rework will
affect the userspace interfaces, which is a problem for a 2.6.18 merge.



The rework will affect the number of per-tgid records that userspace sees (fewer), not the format or any of the
other details regarding the genetlink interface.
Will that be a problem for userspace ?


Nope.

OK, please send the patch and I'll plan on sending this lot to Linus
Thursdayish.

These new patches are fresh out of Shailabh's stove (well, i have
seen one, but not the other yet) and i have not had chance to look
at them yet. No need to rush, does it?

- jay



-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux