Print this page
6583 remove whole-process swapping
@@ -92,11 +92,10 @@
SEGSPT_BADOP(int), /* fault */
SEGSPT_BADOP(faultcode_t), /* faulta */
SEGSPT_BADOP(int), /* setprot */
SEGSPT_BADOP(int), /* checkprot */
SEGSPT_BADOP(int), /* kluster */
- SEGSPT_BADOP(size_t), /* swapout */
SEGSPT_BADOP(int), /* sync */
SEGSPT_BADOP(size_t), /* incore */
SEGSPT_BADOP(int), /* lockop */
SEGSPT_BADOP(int), /* getprot */
SEGSPT_BADOP(u_offset_t), /* getoffset */
@@ -121,11 +120,10 @@
static int segspt_shmsetprot(register struct seg *seg, register caddr_t addr,
register size_t len, register uint_t prot);
static int segspt_shmcheckprot(struct seg *seg, caddr_t addr, size_t size,
uint_t prot);
static int segspt_shmkluster(struct seg *seg, caddr_t addr, ssize_t delta);
-static size_t segspt_shmswapout(struct seg *seg);
static size_t segspt_shmincore(struct seg *seg, caddr_t addr, size_t len,
register char *vec);
static int segspt_shmsync(struct seg *seg, register caddr_t addr, size_t len,
int attr, uint_t flags);
static int segspt_shmlockop(struct seg *seg, caddr_t addr, size_t len,
@@ -152,11 +150,10 @@
segspt_shmfault,
segspt_shmfaulta,
segspt_shmsetprot,
segspt_shmcheckprot,
segspt_shmkluster,
- segspt_shmswapout,
segspt_shmsync,
segspt_shmincore,
segspt_shmlockop,
segspt_shmgetprot,
segspt_shmgetoffset,
@@ -2241,17 +2238,10 @@
segspt_shmkluster(struct seg *seg, caddr_t addr, ssize_t delta)
{
return (0);
}
-/*ARGSUSED*/
-static size_t
-segspt_shmswapout(struct seg *seg)
-{
- return (0);
-}
-
/*
* duplicate the shared page tables
*/
int
segspt_shmdup(struct seg *seg, struct seg *newseg)