Source-Changes archive

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

Re: CVS commit: src/sys/kern



Maybe we should have MEMBAR flavors of the list macros where this matters?

-- thorpej@iPhone

On Apr 12, 2008, at 10:34 AM, Andrew Doran <ad%netbsd.org@localhost> wrote:


Module Name:    src
Committed By:    ad
Date:        Sat Apr 12 17:34:26 UTC 2008

Modified Files:
   src/sys/kern: vfs_cache.c

Log Message:
cache_enter: inline LIST_INSERT_HEAD so that the membar_producer() can be put in the right spot. The 'next' link in the new entry must become globally visible before the list head is updated. This could have affected systems
with weak memory ordering like the alpha.


To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 src/sys/kern/vfs_cache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index