zlogger: improve zlog_task 44/297844/2
authorMateusz Majewski <m.majewski2@samsung.com>
Fri, 25 Aug 2023 10:11:10 +0000 (12:11 +0200)
committerMateusz Majewski <m.majewski2@samsung.com>
Fri, 25 Aug 2023 11:08:02 +0000 (13:08 +0200)
commitb6c15d6a97bf6d228e011c2053e12000ec21a297
treeb3d8375d315b6a99e914dd300dfac1e1b19ad3aa
parentbde6525a89e286b7a6693436120ac174be32f164
zlogger: improve zlog_task

Currently, there is some attempt at handling completion, but it does not
work correctly; unloading the module results in an immediate kernel
oops. Additionally, the module attempts to track whether the task is
running, but this is not necessary due to how modules work in Linux. We
rewrite these part to use standard kernel APIs in a more direct way.

Change-Id: I92b815660e81d47e056a436a1d73bdfdde60bce2
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
kernel/zlogger/zlogger.c