Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

From: Greg Kroah-Hartman
Date: Fri Aug 08 2014 - 00:43:33 EST


On Fri, Aug 08, 2014 at 12:03:20AM -0400, Oleg Drokin wrote:
> Hello!
>
> On Aug 7, 2014, at 11:49 PM, Greg Kroah-Hartman wrote:
> >>
> >> This is not a critical bug and in the worst case the code here may
> >> cause miss of statistics counter increase.
> >> This is why I think it is not worth to backport the patch at all.
> > You are right, and if this is just for some random "statistics" file,
> > can we just delete the whole function?
>
> I hope not!
> This is used all around the client to tally up various operations executed counts.

Why would you do that? Why would they care?

> The statistic is then used by various userspace monitoring tools.

Why not use the in-kernel monitoring tools instead of creating your own?
What does userspace do with that information?

thanks,

greg k-h
--
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/