Path: utzoo!attcan!uunet!snorkelwacker!apple!amdcad!amdahl!key!sjc From: sjc@key.COM (Steve Correll) Newsgroups: comp.arch Subject: Re: End-of-buffer interrupt instruction Message-ID: <2131@key.COM> Date: 19 Sep 90 17:08:25 GMT References: <2516@l.cc.purdue.edu> <6838.26e7f109@vax1.tcd.ie> <2123@key.COM> Organization: Key Computer Labs, Fremont, CA Lines: 14 In article , aglew@crhc.uiuc.edu (Andy Glew) writes: > In such circumstances I often want to ensure that my buffers are page > aligned, and that an access to one element past the end of the buffer > will cause a page fault that I can handle. I've only done this once, > because I'm not always in the kernel. Conceivably MACH's memory > handling facilities could let you do this. Unix System V Release 4 also appears to provide this service to the user process via "mmap" and "mprotect" calls, though I don't have a system to try them out on right now. Whatever one thinks about the feasibility of the proposed instruction, it seems likely that one OS or another is going to solve Prof. Rubin's problem long before any instruction set architect does! -- sjc@key.com or ...{sun,pyramid}!pacbell!key!sjc Steve Correll