Re: [osol-code] Streams flags - D_MTPUTSHARED

2008-04-25 Thread Peter Memishian
> Our driver using the following flags in its cb_ops structure: > ( D_NEW | D_MP | D_MTOUTEPERIM | D_MTOCEXCL ). > I understand that this set of flags will make the open & close routines > synchronous. The open and close routines are *always* synchronous. D_MTOCEXCL makes sure there's only o

Re: [osol-code] Streams flags - D_MTPUTSHARED

2008-04-25 Thread Garrett D'Amore
William Reich wrote: > Hello all. > > I am using Sol 9 & 10 for Sparc. > I have a Steams driver that interfaces to a custom board > across the PCI ( or PCI express ) bus. > > We have observed that we are not getting the throughput > ( messages per second ) that we want. > > Using a V240 machi

[osol-code] Checking for dirty pages

2008-04-25 Thread Neale Ferguson
When swapout gets up and segkp_unlock gets called a page is checked to see if it has been modified by using the hat_mod() operation. This is actually a call to hat_page_getattr() with the P_MOD flag as one of the arguments. In hat_i86.c hat_page_getattr() is simply a PP_GETRM() operation which i

[osol-code] Streams flags - D_MTPUTSHARED

2008-04-25 Thread William Reich
Hello all. I am using Sol 9 & 10 for Sparc. I have a Steams driver that interfaces to a custom board across the PCI ( or PCI express ) bus. We have observed that we are not getting the throughput ( messages per second ) that we want. Using a V240 machine, we can do 25.7k msgs/sec. On a V440,