newbie SMP question

2002-02-26 Thread sridharv
I have been trying to understand some basic SMP stuff( not specific to freebsd). I have a few real basic questions about OS support for SMP.Just to clarify- does the kernel run as various threads on each processor? Is the kernel stack the only non-shared entity among the various threads? I would a

interrupt priority question

2002-02-20 Thread sridharv
While i understand the mechanism of hardware interrupt priority, I am curious to know how the priority levels are achieved/implemented for software ( in particular the various layers of the TCP/IP stack.. splxxx() ). sridhar To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe free

Re: TAILQ

2001-12-28 Thread sridharv
http://www.rocketaware.com/man/man3/queue.3.htm the macro names as such are quite explanatory.. but i am sure the wbove link would be useful.. Quoting Aleksander Rozman <[EMAIL PROTECTED]>: > > Hi ! > > I have finally started with my work on that protocol I was telling you > about > (ax.25),

Re: IP queue question

2001-12-28 Thread sridharv
is there any specific advantage in using device_polling method? does is give sth other than fairness? or is the multiple queue a 100% a;ternative? can u tell me a bit more about inline processing? or pointers to text would also do cheers s Quoting Luigi Rizzo <[EMAIL PROTECTED]>: > Hi, > FreeB

IP queue question

2001-12-27 Thread sridharv
I was reading TCP/IP Vol 2 by douglas comer. In that he has one queue for each interface from which the IP layer processes the incoming datagrams. He has used round-robin for fairness. I checked up the BSD code and it seems to use only one queue 'ipintrq'. The ethernet driver places the mbuf

Re: sk_buff on FreeBSD

2001-12-20 Thread sridharv
you are right. mbufs are used for buffer management in the BSD stack. sk_buff as the linux equivalent . basically they are chains with control information and data. but i think linux assuming more memory allocated a large sk_buff and hence data and headers are contiguous. I remember Alan Cox

inpcb question

2001-07-19 Thread sridharv
I have written a kernel module and modified the stack code ( at the socket layer) to send control to my module. I am trying to access the inpcb structure associated with that particular socket. struct in_pcb* inp = sotoinpcb(so); if (inp) processing though the pbc structure is alloc

init

2001-07-15 Thread sridharv
i need to TAILQ_INIT a queue at kernel startup .. how can i do it in my code? reg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

help with booting

2001-07-15 Thread sridharv
sorry for posting this mesg again- i forgot the subject.. :) am a kernel newbie. i tried adding code to the kernel and compiled it and installed . when i tried rebooting my new image the kernel panics with a fatal trap 12: page fault ( for which i know the reason). How do i boot the system n

No Subject

2001-07-15 Thread sridharv
am a kernel newbie. i tried adding code to the kernel and compiled it and installed . when i tried rebooting my new image the kernel panics with a fatal trap 12: page fault ( for which i know the reason). How do i boot the system now. how can i revert back to an earlier image? or how can i do