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

From: james_p_freyensee
Date: Tue Feb 08 2011 - 14:44:21 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.
>
>

That is originally what I did, but after talking with Greg KH, Arjan vdv,
and Alan Cox I made this patch instead.

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