Print this page
6583 remove whole-process swapping

*** 122,132 **** enum fault_type, enum seg_rw); faultcode_t (*faulta)(struct seg *, caddr_t); int (*setprot)(struct seg *, caddr_t, size_t, uint_t); int (*checkprot)(struct seg *, caddr_t, size_t, uint_t); int (*kluster)(struct seg *, caddr_t, ssize_t); - size_t (*swapout)(struct seg *); int (*sync)(struct seg *, caddr_t, size_t, int, uint_t); size_t (*incore)(struct seg *, caddr_t, size_t, char *); int (*lockop)(struct seg *, caddr_t, size_t, int, int, ulong_t *, size_t); int (*getprot)(struct seg *, caddr_t, size_t, uint_t *); --- 122,131 ----
*** 217,227 **** (*(s)->s_ops->fault)((h), (s), (a), (l), (t), (rw)) #define SEGOP_FAULTA(s, a) (*(s)->s_ops->faulta)((s), (a)) #define SEGOP_SETPROT(s, a, l, p) (*(s)->s_ops->setprot)((s), (a), (l), (p)) #define SEGOP_CHECKPROT(s, a, l, p) (*(s)->s_ops->checkprot)((s), (a), (l), (p)) #define SEGOP_KLUSTER(s, a, d) (*(s)->s_ops->kluster)((s), (a), (d)) - #define SEGOP_SWAPOUT(s) (*(s)->s_ops->swapout)((s)) #define SEGOP_SYNC(s, a, l, atr, f) \ (*(s)->s_ops->sync)((s), (a), (l), (atr), (f)) #define SEGOP_INCORE(s, a, l, v) (*(s)->s_ops->incore)((s), (a), (l), (v)) #define SEGOP_LOCKOP(s, a, l, atr, op, b, p) \ (*(s)->s_ops->lockop)((s), (a), (l), (atr), (op), (b), (p)) --- 216,225 ----