Re: pdflush -> noflushd related question

Andrew Morton (akpm@digeo.com)
Sat, 31 May 2003 11:42:08 -0700


Michael Buesch <fsdeveloper@yahoo.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Saturday 31 May 2003 19:58, Andrew Morton wrote:
> > You can turn these guys off by setting the sysctls to 1000000000
> > I guess. Problem is, I don't think there's a way of starting them
> > again until the ten million seconds expires. hmm.
>
> I've thought a little bit more about it.
> Why do you think, there is no way of waking up?
> Is it, because, when I set it to 1000000000 and the back to,
> let's say, 500, the pdflush threads don't wake up to recognize
> this change? Is this the cause?

Yes.

> What about signaling all pdflush threads with, for example,
> for(ALL_PDFLUSHS)
> kill(pid, SIGSTOP);
>
> Don't they wake up then and recognize the reducing of the timeout?
> The old noflushd did so to wake up updated.

No, that's OK - I'll fix it in the kernel. It's pretty simple.

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