Re: preemptive kernel

2013-05-28 Thread Andre Oppermann
the RX and the TX side are part of this project. -- Andre -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Monday, May 27, 2013 03:18 PM To: Orit Moskovich Cc: Konstantin Belousov; freebsd-hackers@freebsd.org Subject: Re: preemptive kernel on 27/05/2013 10:21 Orit

Re: preemptive kernel

2013-05-27 Thread Konstantin Belousov
: Konstantin Belousov [mailto:kostik...@gmail.com] Sent: Sunday, May 26, 2013 06:48 PM To: Orit Moskovich Cc: freebsd-hackers@freebsd.org Subject: Re: preemptive kernel On Sun, May 26, 2013 at 11:09:03AM +, Orit Moskovich wrote: Can a filter routine preempt another filter routine? And can

Re: preemptive kernel

2013-05-27 Thread Andriy Gapon
on 27/05/2013 09:34 Konstantin Belousov said the following: Having both filter and ithread for the same interrupt is apparently possible but weird. I do not see anything which would prevent interrupt filter from being executed while the ithread is running. But again, this is very unusual

RE: preemptive kernel

2013-05-27 Thread Orit Moskovich
: Andriy Gapon [mailto:a...@freebsd.org] Sent: Monday, May 27, 2013 10:11 AM To: Konstantin Belousov Cc: Orit Moskovich; freebsd-hackers@freebsd.org Subject: Re: preemptive kernel on 27/05/2013 09:34 Konstantin Belousov said the following: Having both filter and ithread for the same interrupt

Re: preemptive kernel

2013-05-27 Thread Andriy Gapon
. -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Monday, May 27, 2013 10:11 AM To: Konstantin Belousov Cc: Orit Moskovich; freebsd-hackers@freebsd.org Subject: Re: preemptive kernel on 27/05/2013 09:34 Konstantin Belousov said the following: Having both filter

RE: preemptive kernel

2013-05-27 Thread Orit Moskovich
? -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Monday, May 27, 2013 03:18 PM To: Orit Moskovich Cc: Konstantin Belousov; freebsd-hackers@freebsd.org Subject: Re: preemptive kernel on 27/05/2013 10:21 Orit Moskovich said the following: What is actually the difference

Re: preemptive kernel

2013-05-27 Thread Andriy Gapon
[trimmed cc] on 27/05/2013 15:29 Orit Moskovich said the following: From what I've read in subr_taskqueue.c taskqueue_swi, taskqueue_swi_giant and taskqueue_fast are all implemented using swi_add which calls ithread_create(). Is there any performance difference between them. Is one of the

Re: preemptive kernel

2013-05-26 Thread Orit Moskovich
Can a filter routine preempt another filter routine? And can an interrupt thread (or a filter routine) preempt another ithread? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

Re: preemptive kernel

2013-05-26 Thread Konstantin Belousov
On Sun, May 26, 2013 at 11:09:03AM +, Orit Moskovich wrote: Can a filter routine preempt another filter routine? And can an interrupt thread (or a filter routine) preempt another ithread? Filter handler borrows the context from the thread executed at the time of the interrupt. At least on

RE: preemptive kernel

2013-05-26 Thread Orit Moskovich
Subject: Re: preemptive kernel On Sun, May 26, 2013 at 11:09:03AM +, Orit Moskovich wrote: Can a filter routine preempt another filter routine? And can an interrupt thread (or a filter routine) preempt another ithread? Filter handler borrows the context from the thread executed at the time

Re: preemptive kernel

2013-04-02 Thread vasanth rao naik sabavat
Thanks John, That is helpful. On Mon, Apr 1, 2013 at 2:33 PM, John Baldwin j...@freebsd.org wrote: On Friday, March 22, 2013 4:10:16 pm vasanth rao naik sabavat wrote: Hi Adrian, Just to clarify, is the kernel pre-emption involuntary? Let say I have a kernel thread processing a huge

Re: preemptive kernel

2013-04-01 Thread John Baldwin
On Friday, March 22, 2013 4:10:16 pm vasanth rao naik sabavat wrote: Hi Adrian, Just to clarify, is the kernel pre-emption involuntary? Let say I have a kernel thread processing a huge list of entries, would this thread get involuntarily context switched out because of kernel preemption?

preemptive kernel

2013-03-22 Thread vasanth rao naik sabavat
Hi, Is the FreeBSD-10 kernel preemptive? -- Thanks, Vasanth ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: preemptive kernel

2013-03-22 Thread Adrian Chadd
Yes. Adrian On 22 March 2013 12:09, vasanth rao naik sabavat vasanth.raon...@gmail.com wrote: Hi, Is the FreeBSD-10 kernel preemptive? -- Thanks, Vasanth ___ freebsd-hackers@freebsd.org mailing list

Re: preemptive kernel

2013-03-22 Thread vasanth rao naik sabavat
Hi Adrian, Just to clarify, is the kernel pre-emption involuntary? Let say I have a kernel thread processing a huge list of entries, would this thread get involuntarily context switched out because of kernel preemption? What is the time slice after which a kernel thread can involuntarily