Re: [Patch 5/8] generic netlink interface for delay accounting

2006-03-30 Thread Shailabh Nagar
Balbir Singh wrote: Hi, Andrew On Wed, Mar 29, 2006 at 09:04:06PM -0800, Andrew Morton wrote: Shailabh Nagar <[EMAIL PROTECTED]> wrote: delayacct-genetlink.patch Create a generic netlink interface (NETLINK_GENERIC family), called "taskstats", for getting delay and cpu statistics of

Re: [Patch 5/8] generic netlink interface for delay accounting

2006-03-29 Thread Balbir Singh
On Wed, Mar 29, 2006 at 10:26:29PM -0800, Andrew Morton wrote: > Balbir Singh <[EMAIL PROTECTED]> wrote: > > > > > The kmem_cache_free() can happen outside the lock. > > > > > > kmem_cache_free() and setting to NULL outside the lock is prone to > > race conditions. Consider the following scenario

Re: [Patch 5/8] generic netlink interface for delay accounting

2006-03-29 Thread Andrew Morton
Balbir Singh <[EMAIL PROTECTED]> wrote: > > > The kmem_cache_free() can happen outside the lock. > > > kmem_cache_free() and setting to NULL outside the lock is prone to > race conditions. Consider the following scenario > > A thread group T1 has exiting processes P1 and P2 > > P1 is exiting, f

Re: [Patch 5/8] generic netlink interface for delay accounting

2006-03-29 Thread Balbir Singh
Hi, Andrew On Wed, Mar 29, 2006 at 09:04:06PM -0800, Andrew Morton wrote: > Shailabh Nagar <[EMAIL PROTECTED]> wrote: > > > > delayacct-genetlink.patch > > > > Create a generic netlink interface (NETLINK_GENERIC family), > > called "taskstats", for getting delay and cpu statistics of > > tasks a

Re: [Patch 5/8] generic netlink interface for delay accounting

2006-03-29 Thread Andrew Morton
Shailabh Nagar <[EMAIL PROTECTED]> wrote: > > delayacct-genetlink.patch > > Create a generic netlink interface (NETLINK_GENERIC family), > called "taskstats", for getting delay and cpu statistics of > tasks and thread groups during their lifetime and when they exit. > > It's be best to have a n

[Patch 5/8] generic netlink interface for delay accounting

2006-03-29 Thread Shailabh Nagar
delayacct-genetlink.patch Create a generic netlink interface (NETLINK_GENERIC family), called "taskstats", for getting delay and cpu statistics of tasks and thread groups during their lifetime and when they exit. Signed-off-by: Shailabh Nagar <[EMAIL PROTECTED]> Signed-off-by: Balbir Singh <[EMA