Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 19:44:55 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm vm_map.c vm_map.h
Message-ID:  <201101251945.p0PJj8Gi040502@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2011-01-25 19:44:55 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/vm               vm_map.c vm_map.h 
  Log:
  SVN rev 217836 on 2011-01-25 19:44:55Z by jhb
  
  MFC 214144:
  - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat
    its value as a loop invariant.  Currently this is a no-op because
    'atomic_cmpset_int()' clobbers all memory on current architectures.
  - Use atomic_fetchadd_int() instead of an atomic_cmpset_int() loop to drop
    a reference in vmspace_free().
  
  Revision    Changes    Path
  1.388.2.15  +1 -5      src/sys/vm/vm_map.c
  1.120.2.4   +1 -1      src/sys/vm/vm_map.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101251945.p0PJj8Gi040502>