Re: [PATCH] lib/debugobjects: Export for use in modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 22, 2016 at 04:53:09PM -0800, Andrew Morton wrote:
> On Tue, 22 Nov 2016 14:30:39 +0000 Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> 
> > Drivers, or other modules, that use a mixture of objects (especially
> > objects embedded within other objects) would like to take advantage of
> > the debugobjects facilities to help catch misuse. Currently, the
> > debugobjects interface is only available to builtin drivers and requires
> > a set of EXPORT_SYMBOL_GPL for use by modules.
> 
> You didn't tell me this (and you should have!) but I'm going to assume
> that this patch is needed for current development so I have queued it for
> inclusion in 4.9-rcX.  As a general make-life-easier-for-everyone thing.

A bit too obtuse, sorry. Indeed I am using the debugobjects in i915.ko
to try and catch some invalid operations on embedded objects. The
problem currently only presents itself across module unload so forcing
i915 to be builtin is not an option.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux