mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
763bbd2f4f
"refreshing" the label on the vnode before use, just get the label right from inception. For single-label file systems, set the label in the generic VFS getnewvnode() code; for multi-label file systems, leave the labeling up to the file system. With UFS1/2, this means reading the extended attribute during vfs_vget() as the inode is pulled off disk, rather than hitting the extended attributes frequently during operations later, improving performance. This also corrects sematics for shared vnode locks, which were not previously present in the system. This chances the cache coherrency properties WRT out-of-band access to label data, but in an acceptable form. With UFS1, there is a small race condition during automatic extended attribute start -- this is not present with UFS2, and occurs because EAs aren't available at vnode inception. We'll introduce a work around for this shortly. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
30 lines
571 B
Makefile
30 lines
571 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../fs/procfs
|
|
|
|
KMOD= procfs
|
|
SRCS=
|
|
SRCS+= vnode_if.h
|
|
SRCS+= procfs_ctl.c
|
|
SRCS+= procfs_dbregs.c
|
|
SRCS+= procfs_fpregs.c
|
|
SRCS+= procfs_ioctl.c
|
|
SRCS+= procfs_map.c
|
|
SRCS+= procfs_mem.c
|
|
SRCS+= procfs_note.c
|
|
SRCS+= procfs_regs.c
|
|
SRCS+= procfs_rlimit.c
|
|
SRCS+= procfs_status.c
|
|
SRCS+= procfs_type.c
|
|
SRCS+= procfs.c
|
|
|
|
EXPORT_SYMS=
|
|
EXPORT_SYMS+= procfs_attr
|
|
EXPORT_SYMS+= procfs_candebug
|
|
EXPORT_SYMS+= procfs_docurproc
|
|
EXPORT_SYMS+= procfs_doprocfile
|
|
EXPORT_SYMS+= procfs_doprocmem
|
|
EXPORT_SYMS+= procfs_notsystem
|
|
|
|
.include <bsd.kmod.mk>
|