lkml.org 
[lkml]   [2011]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 01/12] export kernel call get_task_comm()
From
> On Tue, Feb 08, 2011 at 11:34:46AM -0800,
> james_p_freyensee@linux.intel.com wrote:
>> From: J Freyensee <james_p_freyensee@linux.intel.com>
>>
>> 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.



\
 
 \ /
  Last update: 2011-02-08 20:47    [W:0.139 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site