Re: [PATCH] export get_task_comm()

From: Andrew Morton
Date: Tue Jan 27 2009 - 00:27:05 EST


On Tue, 27 Jan 2009 00:19:19 -0500 Kyle McMartin <kyle@xxxxxxxxxxxxx> wrote:

> On Mon, Jan 26, 2009 at 09:16:55PM -0800, Andrew Morton wrote:
> > Ho hum, I suppose so. I redid the changelog a bit:
> >
> > task_struct.comm[] is useful for debugging and driver developers
> > want to use this information easily. Direct access to
> > task_struct.comm[] is a bit racy, so export the official accessor.
> >
>
> Maybe lirc should be submitted to staging/ before we go exporting
> symbols for out of tree things... ;-)

y:/usr/src/linux-2.6.29-rc2> grep -r 'current->comm' drivers | wc -l
77

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