Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 16:04:23 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/ia64 pmap.c
Message-ID:  <200706071604.l57G4Oa6009262@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2007-06-07 16:04:23 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        pmap.c 
  Log:
  Eliminate pmap_install(), which was used to wrap pmap_switch() and
  grab sched_lock. This would serialize calls to pmap_switch from
  cpu_switch(). With the introduction of thread_lock, this is not
  possible anymore, because thread_lock is not a single lock. It
  varies.  Secondly and most importantly, it's not needed at all. The
  only requirement for pmap_switch() is that it's not preempted
  while in the middle of updating the CPU and PCPU. In other words,
  it's a critical region. No locking required.
  
  Revision  Changes    Path
  1.189     +43 -55    src/sys/ia64/ia64/pmap.c



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