[Skiboot] [PATCH] timer: Stop calling list_top() racily

Stewart Smith stewart at linux.vnet.ibm.com
Wed Dec 13 14:07:19 AEDT 2017


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> This will trip the debug checks in debug builds under some circumstances
> and is actually a rather bad idea as we might look at a timer that is
> concurrently being removed and modified, and thus incorrectly assume
> there is no work to do.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  core/timer.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

THanks,

merged to master as of b504f2737e9ba3b6935b4ea1c015b3643aefaf51
and 5.9.x as of 6e975e1d0fdafdf6cf534da7742b57a538c4fa28

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list