| Deutsch English Français Italiano |
|
<b1c74762d01f71cc1b8ac838dcf6d4fa@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: MSI interrupts Date: Wed, 26 Mar 2025 00:56:27 +0000 Organization: Rocksolid Light Message-ID: <b1c74762d01f71cc1b8ac838dcf6d4fa@www.novabbs.org> References: <vqto79$335c6$1@dont-email.me> <0343529d63f68c76b5e0d227ef6e39dd@www.novabbs.org> <vruql2$cv2$3@reader1.panix.com> <e4ecfb53ef4f33f10b6d2548d5930159@www.novabbs.org> <vrva4r$9ka$1@reader1.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="1764477"; mail-complaints-to="usenet@i2pn2.org"; posting-account="o5SwNDfMfYu6Mv4wwLiW6e/jbA93UAdzFodw5PEa6eU"; User-Agent: Rocksolid Light X-Rslight-Site: $2y$10$/8ecjMQfeWk/5hCvUJRAeuepOs.RrZiTWa8Zhh/DtdaddO8q.Ay/e X-Rslight-Posting-User: cb29269328a20fe5719ed6a1c397e21f651bda71 X-Spam-Checker-Version: SpamAssassin 4.0.0 On Tue, 25 Mar 2025 22:19:07 +0000, Dan Cross wrote: > In article <e4ecfb53ef4f33f10b6d2548d5930159@www.novabbs.org>, > MitchAlsup1 <mitchalsup@aol.com> wrote: > >>> Your stuff sounds fine for getting into the critsec; but it >>> doesn't help you once you're in it, and it seems like it may >>> hurt you if some higher-priority thing comes along and yanks >>> your lock out from under you. >> >>I conceded that point at least 2 days ago. > > Ok, now we're back to the question then: what purpose does it > serve? You (well Chris) can write critical sections where a low priority holder can give way to the higher priority requestor such that the low priority holder reverts back to before it entered CS, and does not see the lock being stolen. For the sizes of CSs this covers--it prevent priority inversion. > It doesn't seem like it can be usefully applied to > anything other than building traditional mutexes based on spin > locks, and even then I'm not sure if that's correct (see above). And here I thought you had an imagination ..... > - Dan C.