lkml.org 
[lkml]   [2022]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] livepatch: Don't block removal of patches that are safe to unload
> > > + /*
> > > + * Only need to set forced flag for the transition patch
> > > + * when force transition to KLP_UNPATCHED state, but
> > > + * have to set forced flag for all replaced patches
> > > + * when force atomic replace transition.
> > > + */
> >
> > How about something like
> >
> > /*
> > * Set forced flag for patches being removed, which is the transition
> > * patch in KLP_UNPATCHED state or all replaced patches when forcing
> > * the atomic replace transition.
> > */
>
> Or just the first sentence:
>
> /* Set forced flag for patches being removed */
>
> The rest is visible from the code.

True. This would work for me as well.

Miroslav

\
 
 \ /
  Last update: 2022-03-16 16:05    [W:0.053 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site