Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Pawel Jakub Dawidek
On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: > Hi. > > Experimenting with SATA hot-plug I've found quite repeatable deadlock > case. Problem observed when several SATA devices, opened via devfs, > disappear at exactly same time. In my case, at time of unplugging SATA > Port Mul

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Pawel Jakub Dawidek
On Sat, Jan 30, 2010 at 12:27:49PM +0100, Pawel Jakub Dawidek wrote: > On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: > > Hi. > > > > Experimenting with SATA hot-plug I've found quite repeatable deadlock > > case. Problem observed when several SATA devices, opened via devfs, > >

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Kostik Belousov
On Sat, Jan 30, 2010 at 12:44:51PM +0100, Pawel Jakub Dawidek wrote: > On Sat, Jan 30, 2010 at 12:27:49PM +0100, Pawel Jakub Dawidek wrote: > > On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: > > > Hi. > > > > > > Experimenting with SATA hot-plug I've found quite repeatable deadlo

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Alexander Motin
Pawel Jakub Dawidek wrote: > On Sat, Jan 30, 2010 at 12:27:49PM +0100, Pawel Jakub Dawidek wrote: >> On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: >>> Experimenting with SATA hot-plug I've found quite repeatable deadlock >>> case. Problem observed when several SATA devices, opene

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Kostik Belousov
On Sat, Jan 30, 2010 at 08:51:27PM +0200, Alexander Motin wrote: > Pawel Jakub Dawidek wrote: > > On Sat, Jan 30, 2010 at 12:27:49PM +0100, Pawel Jakub Dawidek wrote: > >> On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: > >>> Experimenting with SATA hot-plug I've found quite repeat

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Ed Schouten
Hi all, * Kostik Belousov wrote: > My exemplary case has been snp(4) before tty got rewritten, see r. 1.107 > of sys/dev/snp/snp.c. No calls to destroy_dev_sched() that I placed in > the src/ a kept around, that is good because corresponding subsystems > got serious rewrite. The current TTY code

Re: Unique process id (not pid) and accounting daemon

2010-01-30 Thread Alfred Perlstein
* cronfy [100128 06:16] wrote: > >> To ensure that process in the process tree and process in the > >> accounting file are the same, I want to add unique process identifier > >> (uint64_t) to 'proc' struct in sys/sys/proc.h and increment it for > >> every process fork. I see it is possible to do t

Re: book on parallel programming

2010-01-30 Thread Peter Jeremy
On 2010-Jan-29 04:24:13 -0500, Sergey Babkin wrote: >BTW, looks like DamonNews is dead? All there is left is the >emblem and some strange blog. All the rest is gone, including >the archives of old issues. Seems it's been taken over by a squatter. Archives are available via the Wayback Machine at