We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3360882 commit 376c879Copy full SHA for 376c879
kernel/livepatch/core.c
@@ -601,9 +601,12 @@ static int klp_add_object_nops(struct klp_patch *patch,
601
}
602
603
/*
604
- * Add 'nop' functions which simply return to the caller to run
605
- * the original function. The 'nop' functions are added to a
606
- * patch to facilitate a 'replace' mode.
+ * Add 'nop' functions which simply return to the caller to run the
+ * original function.
+ *
607
+ * They are added only when the atomic replace mode is used and only for
608
+ * functions which are currently livepatched but are no longer included
609
+ * in the new livepatch.
610
*/
611
static int klp_add_nops(struct klp_patch *patch)
612
{
0 commit comments