From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-07 11:06:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Tim Shoppa Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the Date: 7 Jan 2002 10:47:07 -0800 Organization: Trailing-Edge Technologies Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2592B3.4E275ABC@virgin.net> <3C289D5F.6080106@tsoft-inc.com> <3C369287.6080901@tsoft-inc.com> NNTP-Posting-Host: p-974.newsdawg.com X-Newsreader: Direct Read News 2.91 Xref: archiver1.google.com comp.os.vms:58828 alt.sys.pdp10:9225 comp.sys.dec:11137 In article , koehler@encompasserve.org says... > >In article <3C369287.6080901@tsoft-inc.com>, David Froble >writes: >> >> An AST delivery? >> An interupt caused by 'end of run quantum'? >> The list is long. >> >> Actually, I'm not a HW person, and aren't really sure that an in-process >> instruction can be interupted. However, there can be things delaying >> the next add instruction. >> > > Interrupts are delivered "between" instructions, not during one. > ??? On what architecture? On a VAX your statment is simply not true. You most certainly can have an interrupt delivered during a long MOVC3, for example. The MOVC3 will be interrupted partway through the copy, the interrupt routine will execute, and the MOVC3 operation will continue from where it left off. Some instructions are guaranteed to be non-interruptable: you obviously don't want someone else stepping in while you're doing an INSQUE, for example. Read Chapter 3 of your VAX ARM to see what's guaranteed to be non-interruptable. This is bread-and-butter stuff for kernel and device-driver writing, but it does come into play in "regular user" multiprocessing too. Tim.