[4807] in Athena Bugs
text cache
daemon@ATHENA.MIT.EDU (edg@ATHENA.MIT.EDU)
Sat Apr 21 15:29:20 1990
From: edg@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Sat, 21 Apr 90 15:29:01 EDT
I agree with Richard about checking maxtextcache variable in vm_text.c.
Here is the necessary addition to the previously sent fix.
*** /paris/source/vax/sys/sys/vm_text.c Tue Mar 14 23:00:06 1989
--- /site/sys/sys/vm_text.c Sat Apr 21 13:31:50 1990
***************
*** 110,116 ****
xtail = &xhead;
for (xp = text; xp < textNTEXT; xp++)
FREE_AT_TAIL(xp);
! if (maxtextcache == -1)
maxtextcache = ntext;
}
--- 111,117 ----
xtail = &xhead;
for (xp = text; xp < textNTEXT; xp++)
FREE_AT_TAIL(xp);
! if (maxtextcache < 0 || maxtextcache > ntext)
maxtextcache = ntext;
}
***************