projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
alloc tables at boot time version
[unix-history]
/
usr
/
src
/
sys
/
kern
/
kern_physio.c
diff --git
a/usr/src/sys/kern/kern_physio.c
b/usr/src/sys/kern/kern_physio.c
index
93e0521
..
c88dac9
100644
(file)
--- a/
usr/src/sys/kern/kern_physio.c
+++ b/
usr/src/sys/kern/kern_physio.c
@@
-1,4
+1,4
@@
-/* kern_physio.c 4.1
3
%G% */
+/* kern_physio.c 4.1
4
%G% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-60,7
+60,7
@@
struct {
long nreada;
long ncache;
long nwrite;
long nreada;
long ncache;
long nwrite;
- long bufcount[
NBUF
];
+ long bufcount[
64
];
} io_info;
#endif
} io_info;
#endif
@@
-74,9
+74,9
@@
struct {
* page push, when the I/O completes, it is inserted
* in a list of cleaned pages to be processed by the pageout daemon.
*/
* page push, when the I/O completes, it is inserted
* in a list of cleaned pages to be processed by the pageout daemon.
*/
-struct buf
swbuf[NSWBUF]
;
-short
swsize[NSWBUF];
/* CAN WE JUST USE B_BCOUNT? */
-int
swpf[NSWBUF]
;
+struct buf
*swbuf
;
+short
*swsize;
/* CAN WE JUST USE B_BCOUNT? */
+int
*swpf
;
#ifndef UNFAST
#ifndef UNFAST
@@
-361,7
+361,7
@@
daddr_t blkno;
i++;
dp = dp->av_forw;
}
i++;
dp = dp->av_forw;
}
- if (i<
NBUF
)
+ if (i<
64
)
io_info.bufcount[i]++;
#endif
notavail(bp);
io_info.bufcount[i]++;
#endif
notavail(bp);