tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Name cache locking issue?




On Apr 11, 2008, at 8:25 AM, Andrew Doran wrote:

Module Name:    src
Committed By:   ad
Date:           Fri Apr 11 15:25:24 UTC 2008

Modified Files:
        src/sys/kern: kern_cpu.c vfs_cache.c
        src/sys/sys: cpu_data.h namei.src

Log Message:
Restructure the name cache code to eliminate most lock contention
resulting from forward lookups. Discussed on tech-kern@.

Hm, is cache_lock_cpus() safe if CPU_INFO_ITERATOR() happens to return the CPUs in a different order on different CPUs?

-- thorpej



Home | Main Index | Thread Index | Old Index