mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-04-17 00:36:12 +00:00
This changes the number of swap blocks allocated per process from 17 to 33.
This should allow the kernel to swap out up to 16K per process, which goes along with the increased address space size. There may be some other tweaks to get a 16K address space working fully.
This commit is contained in:
@@ -9,3 +9,15 @@
|
||||
|
||||
4;4 / init by copy
|
||||
unkni;0 / " error
|
||||
@@ -159,9 +162,9 @@
|
||||
|
||||
mov $1024.-64.,r1 / highest drum address; high 64 blks allocated
|
||||
/ to UNIX
|
||||
- mov $p.dska,r2 / p.dska contains dis addresses for processes
|
||||
+ mov $p.dska,r2 / p.dska contains disk addresses for processes
|
||||
1 :
|
||||
- sub $17.,r1 / 17 blocks per process
|
||||
+ sub $33.,r1 / 33 blocks per process, allows 16K per process
|
||||
mov r1,(r2)+
|
||||
cmp r2,$p.dska+nproc+nproc
|
||||
bne 1b
|
||||
|
||||
Reference in New Issue
Block a user