Re: [RFC, PATCH] cond_resched() added to close_files()

From: Ingo Molnar
Date: Fri May 12 2006 - 06:20:45 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> Makes my machine hang early during the startup of init.
>
> The last process to pass through close_file() is `hostname', presuably
> parented by init. `hostname' exits then everything stops. init is
> left sleeping in select().
>
> All very strange.

weird. This really shouldnt cause a hang - i think there must be a bug
hiding elsewhere, this cond_resched() ought to be fine.

Ingo
-
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/