Print this page
6146 seg_inherit_notsup is redundant
*** 107,117 ****
.pagelock = SEGSPT_BADOP(int),
.setpagesize = SEGSPT_BADOP(int),
.getmemid = SEGSPT_BADOP(int),
.getpolicy = segspt_getpolicy,
.capable = SEGSPT_BADOP(int),
- .inherit = seg_inherit_notsup,
};
static int segspt_shmdup(struct seg *seg, struct seg *newseg);
static int segspt_shmunmap(struct seg *seg, caddr_t raddr, size_t ssize);
static void segspt_shmfree(struct seg *seg);
--- 107,116 ----
*** 167,177 ****
.pagelock = segspt_shmpagelock,
.setpagesize = segspt_shmsetpgsz,
.getmemid = segspt_shmgetmemid,
.getpolicy = segspt_shmgetpolicy,
.capable = segspt_shmcapable,
- .inherit = seg_inherit_notsup,
};
static void segspt_purge(struct seg *seg);
static int segspt_reclaim(void *, caddr_t, size_t, struct page **,
enum seg_rw, int);
--- 166,175 ----