Unix Technical Forum

Re: Software interrupts in OpenBSD

This is a discussion on Re: Software interrupts in OpenBSD within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Mon, 22 Aug 2005, Bijoy Thomas wrote: > Can you tell me where in the kernel sources this ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:01 AM
Ted Unangst
 
Posts: n/a
Default Re: Software interrupts in OpenBSD

On Mon, 22 Aug 2005, Bijoy Thomas wrote:

> Can you tell me where in the kernel sources this code is?Also, what is
> the difference between splnet and splsoftnet?


arch/ for i386, code is under sys/arch/i386/i386 and sys/arch/i386/isa.
splnet is the interrupt level of hardware nics. softnet is for the top
half.

any code which touches data that may be modified by a network has to use
splnet. syscalls that touch network data use splsoftnet to prevent the
software interrupt from running after a hardware interrupt, but without
blocking the hardware interrupt.


--
And that's why it doesn't affect the engine performance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com