Re: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41]

From: David Howells
Date: Fri Dec 19 2008 - 06:44:37 EST


Serge E. Hallyn <serue@xxxxxxxxxx> wrote:

> > + set_user_nice(current, -5);
>
> Just curious - why -5?

Actually, that's entirely arbitrary. I should probably make it configurable.

> Whenever it is actually running you'd like it to have slightly higher
> priority than ordinary user tasks?

It's normally performing I/O on behalf of other tasks. I'm not sure what the
best way to prioritise it is.

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