[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1705190950440.31456@pobox.suse.cz>
Date: Fri, 19 May 2017 09:51:48 +0200 (CEST)
From: Miroslav Benes <mbenes@...e.cz>
To: Oleg Nesterov <oleg@...hat.com>
cc: jpoimboe@...hat.com, jeyu@...hat.com, jikos@...nel.org,
pmladek@...e.com, live-patching@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] livepatch: send a fake signal to all blocking
tasks
> > If not, we get back to exit_to_usermode_loop() and TIF_PATCH_PENDING is
> > cleared. Yes, it is true that TIF_SIGPENDING is still set and we get to
> > do_signal() once more. But for the last time.
>
> Yes, slightly sub-optimal but not really wrong and you can swap
> do_signal() and klp_update_patch_state().
Ok. I'll add it to v2.
> > If the syscall is restarted, it may be different. I have to think about
> > this one. But...
>
> Afaics, there are no problems.
>
>
> In short. Thanks for correcting me and sorry for noise!
Thanks for the review, Oleg. Much appreciated.
Miroslav
Powered by blists - more mailing lists