Priorities of kswapd & bdflush

Pavel Machek (pavel@elf.ucw.cz)
Fri, 27 Mar 1998 16:52:21 +0100


Hi!

kswapd has realtime priority. Well, I do not like it (it likes to loop
forever), but it is probably neccessary.

Bdflush does not have realtime priority. So if kswapd goes crazy,
bdflush is defunct. Bdflush may like realtime priority, too: it acts
only if kernel is too full with unsaved data - at that time, you want
both to swap _and_ to flush dirty buffers back.

Anyway, at least when emergency sync is requested, bdflush should get
realtime priority. As I said, it might be good thing (tm) for bdflush
to have realtime priority all the time...

What do you think?

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu