Shailabh Nagar wrote:<snip>
Jay Lan wrote:
Hi Balbir and Shailabh,
I finally have time to think about implementation details of CSA over
taskstats interface. I took another look at the taskstats interface
proposal and was a little bit nervous
Yup...allowing non-privileged apps to set the param is not desirable.Another thing i overlooked when i did the review was that taskstatsI don't see why not. We could extend the command set to set tgid
interface is designed to provide _BOTH_ per task _AND_ per thread
accounting data EVERY TIME a task exists. A thread is an aggregate
of (per-pid) tasks. Since this type of aggregation is not used in
CSA, half of data traffic would be useless. Can we add a way to
configure to not send per-thread data to the socket?
sending on/off.
This would be great!
But, we can have a number of applications listening on the socket. We
surely do not want applications to send conflicting commands to the kernel.
Maybe we can make it a /etc/sysconfig option.