Re: counters

Manik Raina (manik@cisco.com)
Fri, 17 May 2002 19:57:58 +0530


Frank Schaefer wrote:

> Hi Manik
>
> and sorry that I read only half of your initial post.
> I had a quick look at fs/read_write.c.
>
> I don't see any hook in the functions here, to perform such a task. And
> here this should belong to -- shouldn't it?

quite right. I am wondering if any locking is required for updating
some counters which one may add in task_struct or if adding counters
in task_struct is acceptable at all.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/