Re: pdflush -> noflushd related question

From: Michael Buesch (fsdeveloper@yahoo.de)
Date: Sat May 31 2003 - 13:39:54 EST


-----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?

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.

thanks.

- --
Regards Michael Büsch
http://www.8ung.at/tuxsoft
20:32:32 up 6:04, 2 users, load average: 2.05, 2.03, 2.00

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+2PZHoxoigfggmSgRAjx2AJ9orNNk8SLQlhBg+lJ1ZsyGgOb/9ACgjBjW
bm0WPZwvb8Rd0bGti2XFBOQ=
=Et8g
-----END PGP SIGNATURE-----

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