Re: livepatch module references and ORC unwinder?

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

 



On Thu, Nov 16, 2017 at 01:55:39PM -0500, Joe Lawrence wrote:
> Hi Josh,
> 
> I wanted to test Miroslav's "livepatch: Introduce signal and force sysfs
> attributes" series and merged his patches on top of this morning's Linus
> tree.  When attempting to unload the livepatch-sample.ko, I noticed that
> it held an outstanding reference even after disabling the livepatch.
> This prevented me from unloading the livepatch module.

Yeah, unfortunately the ORC unwinder doesn't quite support the
consistency model yet.  It doesn't have the reliable stacktrace hooks
yet (CONFIG_HAVE_RELIABLE_STACKTRACE), so klp_have_reliable_stack()
return false and the sample module sets patch->immediate, so the patch
can't be unloaded.

Not much is needed for that, I just haven't had a chance to do it yet.
Here's a summary of what I think is needed in case anybody wants to take
a shot at it:

  https://lkml.kernel.org/r/20171004140422.wikfoodyhoas2eae@treble

-- 
Josh
--
To unsubscribe from this list: send the line "unsubscribe live-patching" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux