mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
This fixes a troubling oversight in some of the pmap code enhancements.
One of the manifiestations of the problem includes the -4 RSS problem in ps. Reviewed by: dyson Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
This commit is contained in:
parent
6ec2301d28
commit
7847cec1b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15340
@ -39,7 +39,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
|
||||
* $Id: pmap.c,v 1.84 1996/03/31 23:00:32 davidg Exp $
|
||||
* $Id: pmap.c,v 1.85 1996/04/07 02:23:05 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -543,6 +543,7 @@ pmap_getpdir() {
|
||||
--nfreepdir;
|
||||
pdir = pdirlist;
|
||||
pdirlist = (caddr_t *) *pdir;
|
||||
*pdir = 0;
|
||||
#if 0 /* Not needed anymore */
|
||||
bzero( (caddr_t) pdir, PAGE_SIZE);
|
||||
#endif
|
||||
|
@ -39,7 +39,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
|
||||
* $Id: pmap.c,v 1.84 1996/03/31 23:00:32 davidg Exp $
|
||||
* $Id: pmap.c,v 1.85 1996/04/07 02:23:05 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -543,6 +543,7 @@ pmap_getpdir() {
|
||||
--nfreepdir;
|
||||
pdir = pdirlist;
|
||||
pdirlist = (caddr_t *) *pdir;
|
||||
*pdir = 0;
|
||||
#if 0 /* Not needed anymore */
|
||||
bzero( (caddr_t) pdir, PAGE_SIZE);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user