Re: [PATCH] loop.c: kernel_thread() retval check - 2.6.17.9

From: Julio Auto
Date: Mon Aug 28 2006 - 00:52:00 EST


On 8/28/06, Solar Designer <solar@xxxxxxxxxxxx> wrote:
I think that testing this on a single machine is fine, but it is
preferable that you also check for any resource leaks. That is, replace
the kernel_thread() call with -EAGAIN, then run losetup in a loop and
see whether the system possibly leaks a resource. I did apply this sort
of testing to my original 2.4 patch.


That was exactly the approach I took. :)


Julio Auto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/