> Is possible to create some thread for this loop inside kernel module?

There is no point

> I don't want to suspend the application execution due to a broken
> hardware. I did some tests with 2.2 kernels (using kernel_thread()) and
> I've not been successful.

It is cheaper for the application thread to spin briefly in kernel space
than to schedule other threads.

Reply via email to