Re: [PATCH 0/7] Intro: convert lockd to kthread and fixuse-after-free (try #3)

From: J. Bruce Fields
Date: Sat Jan 05 2008 - 11:44:40 EST


On Wed, Dec 19, 2007 at 08:15:43PM +0100, Tomasz KÅoczko wrote:
> On Tue, 18 Dec 2007, Jeff Layton wrote:
>
>> This is the third patchset to fix the use-after-free problem in lockd,
>> and to convert lockd to use the kthread API instead of kernel_thread.
>> The main change from the last patchset is the elimination of the
>> svc_create_kthread helper function, and having lockd_up call kthread_run
>> directly. I've also made some changes to the function prototype for
>> the lockd function to eliminate the need for casting the function
>> pointer.
>
> BTW kernel, NFS and lockd: SuSE kernel IIRC is distributed with patch which
> adds kernel-based status monitor (statd).
>
> Q to NFS people: any plans about merge this in main kernel tree ?

No. There was opposition to the idea. I can't remember the argument,
though, and a quick google search isn't turning it up.

> And another question related to NFS: any progress on add clear NFS
> statistics in kernel (nfsstat -z) ?

No. We do have some patches that add roughly equivalent functionality
in userspace.

--b.
--
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/