diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-01 00:54:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-01 01:32:52 +0100 |
commit | f8ff04e2be0815b34d11a72d08473a383a3c9eb5 (patch) | |
tree | 4cfb94da77519ccf4124874c60875f867e8bb1d9 /mm | |
parent | zram: fix unbalanced idr management at hot removal (diff) | |
download | linux-f8ff04e2be0815b34d11a72d08473a383a3c9eb5.tar.xz linux-f8ff04e2be0815b34d11a72d08473a383a3c9eb5.zip |
lib/debugobjects: export for use in modules
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.
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.
Link: http://lkml.kernel.org/r/20161122143039.6433-1-chris@chris-wilson.co.uk
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "Du, Changbin" <changbin.du@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions