Re: can we afford an extra column in iostat?

2009-07-14 Thread Giorgos Keramidas
On Tue, 14 Jul 2009 14:55:15 -0700, Brian Somers wrote: > On Tue, 14 Jul 2009 07:23:12 +0300, Giorgos Keramidas > wrote: >> While converting my laptop's main disk to zfs, I noticed iostat output >> like this (bits copied from here and there): >> >> | keram...@kobe:/home/keramida$ iostat -w3 ad0

Re: can we afford an extra column in iostat?

2009-07-14 Thread Brian Somers
On Tue, 14 Jul 2009 07:23:12 +0300, Giorgos Keramidas wrote: > While converting my laptop's main disk to zfs, I noticed iostat output > like this (bits copied from here and there): > > | keram...@kobe:/home/keramida$ iostat -w3 ad0 da0 > | tty ad0 da0 c

Re: bus device driver

2009-07-14 Thread John Baldwin
On Tuesday 14 July 2009 11:30:50 am Norbert Koch wrote: > > > From a hardware perspective, how do your devices know which addresses to > > decode? Do they consume subranges of BARs or are they assigned fixed > > addresses somehow? Do they have programmable decoders of some sort > > themselves

Re: mmap/munmap with zero length

2009-07-14 Thread Alan Cox
John Baldwin wrote: On Monday 13 July 2009 3:33:51 pm Tijl Coosemans wrote: On Monday 13 July 2009 20:28:08 John Baldwin wrote: On Sunday 05 July 2009 3:32:25 am Alexander Best wrote: so mmap differs from the POSIX recommendation right. the malloc.conf option seems more like a w

Re: bus device driver

2009-07-14 Thread Norbert Koch
From a hardware perspective, how do your devices know which addresses to decode? Do they consume subranges of BARs or are they assigned fixed addresses somehow? Do they have programmable decoders of some sort themselves? If you wish to have the PCI bus assign you resources then that implie

Re: bus device driver

2009-07-14 Thread John Baldwin
On Tuesday 14 July 2009 3:08:40 am Norbert Koch wrote: > > John Baldwin schrieb: > > On Monday 13 July 2009 10:05:15 am Norbert Koch wrote: > > > >> Hello. > >> > >> I just started to write a device > >> driver for a multi-function pci card. > >> This card replaces a number of > >> independant

Re: bus device driver

2009-07-14 Thread Norbert Koch
John Baldwin schrieb: On Monday 13 July 2009 10:05:15 am Norbert Koch wrote: Hello. I just started to write a device driver for a multi-function pci card. This card replaces a number of independant isa hardware devices. This pci card contains memory, i/o and interrupt sources. I want my dev