Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 13:52:23 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm phys_pager.c
Message-ID:  <200012062152.eB6LqNU01059@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2000/12/06 13:52:23 PST

  Modified files:
    sys/vm               phys_pager.c 
  Log:
  Really fix phys_pager:
  
  Backout the previous delta (rev 1.4), it didn't make any difference.
  
  If the requested handle is NULL then don't add it to the list of
  objects, to be found by handle.
  
  The problem is that when asking for a NULL handle you are implying
  you want a new object.  Because objects with NULL handles were
  being added to the list, any further requests for phys backed
  objects with NULL handles would return a reference to the initial
  NULL handle object after finding it on the list.
  
  Basically one couldn't have more than one phys backed object without
  a handle in the entire system without this fix.  If you did more
  than one shared memory allocation using the phys pager it would
  give you your initial allocation again.
  
  Revision  Changes    Path
  1.5       +37 -32    src/sys/vm/phys_pager.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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