Re: [PATCH 1/4] export kernel call get_task_comm().

From: Andrew Morton
Date: Wed Apr 20 2011 - 19:11:34 EST


On Wed, 20 Apr 2011 12:14:21 -0700
Greg KH <gregkh@xxxxxxx> wrote:

> > But as David pointed out, if there is work other than mine coming that
> > has already been proposed, wouldn't it be good to get this patch in
> > place now to start the encouragement of future eyes to just call this
> > function than re-invent the wheel?
>
> No, then those projects submit the patch to export this, if they happen
> to get to mainline before this one does.
>
> Again, don't export something unless you are using it at the time, no
> "this is to be used hopefully by something in the future" type stuff
> please. Who knows if those future plans ever pan out.

Well there's an easy solution here. Send the patch to export
get_task_comm(), then send along some patches which fix

z:/usr/src/linux-2.6.39-rc4> grep -r 'current->comm' drivers | wc -l
89

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