From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41] Date: Fri, 19 Dec 2008 11:44:21 +0000 Message-ID: <10451.1229687061@redhat.com> References: <20081219041401.GA29316@us.ibm.com> <20081120144139.10667.75519.stgit@warthog.procyon.org.uk> <20081120144145.10667.39594.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, dhowells@redhat.com, viro@ZenIV.linux.org.uk, linux-fsdevel@vger.kernel.org To: "Serge E. Hallyn" Return-path: In-Reply-To: <20081219041401.GA29316@us.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfsv4-bounces@linux-nfs.org Errors-To: nfsv4-bounces@linux-nfs.org List-Id: linux-fsdevel.vger.kernel.org Serge E. Hallyn 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