Re: [PATCH 01/12] export kernel call get_task_comm()

From: Christoph Hellwig
Date: Tue Feb 08 2011 - 14:39:06 EST


On Tue, Feb 08, 2011 at 11:34:46AM -0800, james_p_freyensee@xxxxxxxxxxxxxxx wrote:
> From: J Freyensee <james_p_freyensee@xxxxxxxxxxxxxxx>
>
> This allows drivers who call this function to be compiled modularly.
> Otherwise, a driver who is interested in this type of functionality
> has to implement their own.

NAK.

>From current you can just dereference current->comm, and access from
other threads from drivers is a bad idea.

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