live-patching.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] livepatch: cleanup kpl_patch kobject release
@ 2021-11-01  0:31 Ming Lei
  2021-11-01  0:31 ` [PATCH V2 1/3] livepatch: remove 'struct completion finish' from klp_patch Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ming Lei @ 2021-11-01  0:31 UTC (permalink / raw)
  To: Josh Poimboeuf, Jiri Kosina, Miroslav Benes, Petr Mladek, live-patching
  Cc: linux-kernel, Greg Kroah-Hartman, Luis Chamberlain, Ming Lei

Hello,

The 1st patch moves module_put() to release handler of klp_patch
kobject.

The 2nd patch changes to free klp_patch and other kobjects without
klp_mutex.

The 3rd patch switches to synchronous kobject release for klp_patch.


V2:
	- remove enabled attribute before deleting this klp_patch kobject,
	for avoiding deadlock in deleting me


Ming Lei (3):
  livepatch: remove 'struct completion finish' from klp_patch
  livepatch: free klp_patch object without holding klp_mutex
  livepatch: free klp_patch object synchronously

 include/linux/livepatch.h     |  2 --
 kernel/livepatch/core.c       | 67 ++++++++++++++++-------------------
 kernel/livepatch/core.h       |  3 +-
 kernel/livepatch/transition.c | 23 ++++++++----
 kernel/livepatch/transition.h |  2 +-
 5 files changed, 50 insertions(+), 47 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-01  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01  0:31 [PATCH V2 0/3] livepatch: cleanup kpl_patch kobject release Ming Lei
2021-11-01  0:31 ` [PATCH V2 1/3] livepatch: remove 'struct completion finish' from klp_patch Ming Lei
2021-11-01  0:31 ` [PATCH V2 2/3] livepatch: free klp_patch object without holding klp_mutex Ming Lei
2021-11-01  0:31 ` [PATCH V2 3/3] livepatch: free klp_patch object synchronously Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).