Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 19:34:38 +0100
From:      "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" <fernando.apesteguia@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   mutex lock for filesystem list.
Message-ID:  <1bd550a00801131034o2999b85eu589cd8ee18a114ea@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm trying to write a patch to add a file to the linprocfs. This file
provides the list of filesystems present in the kernel.

Though I was able to create the file and traverse the list, it's
clearly unsafe. I would like to know wich semaphore I should lock
cause I can't find it in the kernel code.

In addition I'd like to know if there is a book similar to the
Understanding the Linux kernel, but for freebsd. What is the best
information source to get introduced in the freebsd kernel programming
(apart of the code itself)?

Thanks in advance



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1bd550a00801131034o2999b85eu589cd8ee18a114ea>