tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: maximum limit of files open with O_EXLOCK
On Sat, Jun 19, 2021 at 08:12:38AM +0000, nia wrote:
> The Zig developer found the kernel limit:
> https://nxr.netbsd.org/xref/src/sys/kern/vfs_lockf.c#116
>
> but it doesn't seem to be adjustable through sysctl.
> I wonder if it should be.
I wonder if the logic should be changed to allow one "free" lock per
open file, since those are already limited, and it's not like the
amounts of memory involved are large.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index