Re: [RFC PATCH 1/3] Add ability to keep track of callers ofsymbol_(get|put)

From: Andrew Morton
Date: Sun Mar 11 2007 - 04:10:27 EST


> On Sat, 10 Mar 2007 02:31:35 -0200 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> wrote:
> From: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
>
> When a module uses symbol_get() to increase the ref count of another
> module, there is no record what module called symbol_get(). A module
> can
> show up as having other users, but there is no way to tell who those
> users are.
>
> This adds that ability to symbol_put() and symbol_get().

One day I'll write a script which unwordwraps patches and then you'll all
need to find new ways of torturing me.

This patch needed rather a lot of help in the coding-style department.
Hopefully Rusty can comment on the content, because I'm all exhausted from
cleaning it up.

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