Re: [PATCH] kallsyms: Fix scheduling with interrupts disabled in self-test

From: Erhard F.
Date: Thu Jan 12 2023 - 13:05:34 EST


On Thu, 12 Jan 2023 20:54:26 +1000
Nicholas Piggin <npiggin@xxxxxxxxx> wrote:

> kallsyms_on_each* may schedule so must not be called with interrupts
> disabled. The iteration function could disable interrupts, but this
> also changes lookup_symbol() to match the change to the other timing
> code.

Just tested your patch. It fixes the problem on the G5. Thanks!

Regards,
Erhard