FreeBSD_HEAD-tests - Build #1152 - Failure

2015-07-01 Thread jenkins-admin
FreeBSD_HEAD-tests - Build #1152 - Failure: Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1152/ to view the results. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: pkg 1.5.0 is out

2015-07-01 Thread Hans Petter Selasky
On 04/21/15 12:34, Slawa Olhovchenkov wrote: On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: Hi all, Final pkg 1.5.0 has been released. Hi, Is there a way the external SAT solver functionality can be memory optimised? When trying to use this feature having +750

Re: pkg 1.5.0 is out

2015-07-01 Thread Baptiste Daroussin
On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote: On 04/21/15 12:34, Slawa Olhovchenkov wrote: On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: Hi all, Final pkg 1.5.0 has been released. Hi, Is there a way the external SAT solver

FreeBSD_HEAD-tests - Build #1153 - Fixed

2015-07-01 Thread jenkins-admin
FreeBSD_HEAD-tests - Build #1153 - Fixed: Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1153/ to view the results. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Ryan Stone
I'm trying to figure out how a driver is supposed to shut down its interrupt-handling taskqueue when it detaches. taskqueue(9) recommends disabling interrupts, draining each task and then freeing the taskqueue. The problem that I have is the interrupt-handling tasks will sometimes re-enable

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Jack Vogel
But if you've disabled interrupts why would an interrupt-handling task even run?? Jack On Wed, Jul 1, 2015 at 12:44 PM, Ryan Stone ryst...@gmail.com wrote: I'm trying to figure out how a driver is supposed to shut down its interrupt-handling taskqueue when it detaches. taskqueue(9)

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Ryan Stone
On Wed, Jul 1, 2015 at 4:58 PM, Jack Vogel jfvo...@gmail.com wrote: But if you've disabled interrupts why would an interrupt-handling task even run?? Jack There's a race. The task could have already have been scheduled by a previous interrupt and could be running while I am trying to

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Konstantin Belousov
On Wed, Jul 01, 2015 at 05:09:27PM -0400, Ryan Stone wrote: On Wed, Jul 1, 2015 at 4:58 PM, Jack Vogel jfvo...@gmail.com wrote: But if you've disabled interrupts why would an interrupt-handling task even run?? Jack There's a race. The task could have already have been scheduled by

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Eric Joyner
Or like, taskqueue_enqueue_if_not_draining() ? :p On Wed, Jul 1, 2015 at 2:32 PM Konstantin Belousov kostik...@gmail.com wrote: On Wed, Jul 01, 2015 at 05:09:27PM -0400, Ryan Stone wrote: On Wed, Jul 1, 2015 at 4:58 PM, Jack Vogel jfvo...@gmail.com wrote: But if you've disabled

Call for FreeBSD 2015Q2 (April-June) Status Reports

2015-07-01 Thread Benjamin Kaduk
Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is July 14, 2015, for work done in April through June. Status report submissions do not have to be very long. They may be about anything happening in the FreeBSD project and community, and provide a great way to

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Ryan Stone
On Wed, Jul 1, 2015 at 5:32 PM, Konstantin Belousov kostik...@gmail.com wrote: Do you mean, you want some KPI like boolean taskqueue_is_draining(struct taskqueue *p); so that e.g. executed task could see if it is executing in the shutdown state ? I'd prefer a KPI that stops a

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread Jack Vogel
Ya, that seems elegant. Jack On Wed, Jul 1, 2015 at 3:28 PM, Ryan Stone ryst...@gmail.com wrote: On Wed, Jul 1, 2015 at 5:32 PM, Konstantin Belousov kostik...@gmail.com wrote: Do you mean, you want some KPI like boolean taskqueue_is_draining(struct taskqueue *p); so that e.g.

Re: How should a driver shutdown a taskqueue on detach?

2015-07-01 Thread John-Mark Gurney
Ryan Stone wrote this message on Wed, Jul 01, 2015 at 15:44 -0400: I'm trying to figure out how a driver is supposed to shut down its interrupt-handling taskqueue when it detaches. taskqueue(9) recommends disabling interrupts, draining each task and then freeing the taskqueue. The problem