Messages in this thread | | | Date | Tue, 8 Feb 2011 11:44:16 -0800 (PST) | Subject | Re: [PATCH 01/12] export kernel call get_task_comm() | From | james_p_freyensee@linux ... |
| |
> 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.
| |