Re: 2.6.23-rc1-mm1

From: Andrew Morton
Date: Wed Jul 25 2007 - 20:29:39 EST


On Wed, 25 Jul 2007 17:07:05 -0700
Greg KH <gregkh@xxxxxxx> wrote:

> > Guessing is this patch ?
> >
> > gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch: __tracedata_end = .;
> > gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch:+ _sdata = .; /* End of text section */
>
> This patch is a horrible hack to try to see if kobjects are static and
> not dynamically created.

You could perhaps use something like module_address_lookup() for this
debugging aid.
-
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/