[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060730211130.be44c1d0.akpm@osdl.org>
Date: Sun, 30 Jul 2006 21:11:30 -0700
From: Andrew Morton <akpm@...l.org>
To: NeilBrown <neilb@...e.de>
Cc: nfs@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 008 of 11] knfsd: add svc_set_num_threads
On Mon, 31 Jul 2006 10:42:23 +1000
NeilBrown <neilb@...e.de> wrote:
> + /* destroy old threads */
> + while (nrservs < 0 &&
> + (victim = choose_victim(serv, pool, &state)) != NULL) {
> + send_sig(serv->sv_kill_signal, victim, 1);
> + nrservs++;
Using signals to communicate with kernel threads is rather baroque - we
have a range of less klunky ways of controlling kernel threads in-kernel.
The containers guys are going through converting lots of these things over
to the kthread API - I believe it's a requirement for containerisation.
nfsd/rpc is going to be one of the hard ones to convert, but it's going to
happen.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists