Re: [PATCH 3/6] NLM: Initialize completion variable in lockd_up

From: Mike Snitzer
Date: Fri Mar 14 2008 - 23:45:21 EST


On Sun, Jan 13, 2008 at 1:17 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> Btw, lockd() takes BKL just after starting up and only implicitly drops
> it when blocking. This seems very dangerous to me and badly wants
> updating to some real locking scheme..

Can you elaborate on what is meant by lockd "blocking"? Blocking in
svc_recv() or during a SETLKW or ???

I'm trying to come to terms with why nlmsvc_lock() wouldn't have the
BKL on entry.
--
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/