mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
GETATTRs being generated - one from lookup()/namei() and the other from nfs_open() (for cto consistency). This change eliminates the GETATTR in nfs_open() if an otw GETATTR was done from the namei() path. Instead of extending the vop interface, we timestamp each attr load, and use this to detect whether a GETATTR was done from namei() for this syscall. Introduces a thread-local variable that counts the syscalls made by the thread and uses <pid, tid, thread syscalls> as the attrload timestamp. Thanks to jhb@ and peter@ for a discussion on thread state that could be used as the timestamp with minimal overhead. |
||
|---|---|---|
| .. | ||
| clock.c | ||
| copyinout.c | ||
| interrupt.c | ||
| locore.S | ||
| machdep.c | ||
| mmu_oea.c | ||
| nexus.c | ||
| ofw_machdep.c | ||
| ofwmagic.S | ||
| swtch.S | ||
| trap.c | ||
| trap_subr.S | ||
| uio_machdep.c | ||
| uma_machdep.c | ||
| vm_machdep.c | ||