Re: [osol-code] way to disallow further module load/unload

2007-11-01 Thread Richard L. Hamilton
> Richard L. Hamilton writes: > > minimal part being disabling writes to /dev/*mem), > my main interest is if > > that would make it possible to install more kernel > and driver patches safely in multi-user mode, > > without having to worry about an inconsistent set > of modules getting loaded prio

Re: [osol-code] problems with CC -fast compilation

2007-11-01 Thread satish s nandihalli
Yes, I am compiling with SPARC 3i. yes, as u said, i investigated and found that this was problem with typecast from a lower size data-type to higher size datatype. I have now got the problem solved by modifying my code accordingly... Thanks for achenle and wesolows This message p

Re: [osol-code] extremly bad performance of Solaris regex

2007-11-01 Thread Jens Elkner
On Thu, Nov 01, 2007 at 02:47:47AM +0100, Roland Mainz wrote: Hi! > [Please keep [EMAIL PROTECTED] in the CC: field Will block, since I'm not subscribed to that list... > Jens Elkner wrote: > > > > > > 1. Which locale do you use ? > > > > LC_CTYPE is set to en_US and LC_LANG/LC_ALL are unset.

Re: [osol-code] way to disallow further module load/unload operations?

2007-11-01 Thread James Carlson
Richard L. Hamilton writes: > minimal part being disabling writes to /dev/*mem), my main interest is if > that would make it possible to install more kernel and driver patches safely > in multi-user mode, > without having to worry about an inconsistent set of modules getting loaded > prior to reb

Re: [osol-code] [ksh93-integration-discuss] extremly badperformance of Solaris regex

2007-11-01 Thread Jens Elkner
On Thu, Nov 01, 2007 at 03:33:19PM +0100, Joerg Schilling wrote: > Jens Elkner <[EMAIL PROTECTED]> wrote: > > > I think, as adumbrated before, GNU regex is probably not widely used > > anymore, and thus it would be more or less a theoretical issue - waste > > of time... > > Does this mean that th

[osol-code] Use of sti/cli in os/intr.c

2007-11-01 Thread Neale Ferguson
In the x86/amd64 module os/intr.c calls to sti()/cli() are made. One of these is in dispatch_hardint(). Now if intr_thread_prolog() has been called the cpu_intr_actv bitmap is updated according to the current PIL. If dispatch_hardint() is then called and it issues sti() then an interrupt is all

Re: [osol-code] [ksh93-integration-discuss] extremly badperformance of Solaris regex

2007-11-01 Thread Joerg Schilling
Jens Elkner <[EMAIL PROTECTED]> wrote: > On Thu, Nov 01, 2007 at 01:31:27PM +0100, Joerg Schilling wrote: > > Roland Mainz <[EMAIL PROTECTED]> wrote: > > > > > > regex.c RegexTest.java MHz > > > > Solaris sparc 12.14u 0.00s 0:12.25 99.1% 5324 ms

Re: [osol-code] [ksh93-integration-discuss] extremly badperformance of Solaris regex

2007-11-01 Thread Jens Elkner
On Thu, Nov 01, 2007 at 01:31:27PM +0100, Joerg Schilling wrote: > Roland Mainz <[EMAIL PROTECTED]> wrote: > > > > regex.c RegexTest.java MHz > > > Solaris sparc 12.14u 0.00s 0:12.25 99.1% 5324 ms 1503 > > > Solaris x86 5.85u 0.00s 0

Re: [osol-code] [ksh93-integration-discuss] extremly bad performance of Solaris regex

2007-11-01 Thread Jens Elkner
On Thu, Nov 01, 2007 at 12:26:38PM +0100, Joerg Schilling wrote: > Jens Elkner <[EMAIL PROTECTED]> wrote: > > > On Tue, Oct 30, 2007 at 11:07:41PM -0700, Garrett D'Amore wrote: > > > Don't most 3rd party software apps use a version of either GNU regex or > > > perl regex? > > > > AFAIK they usual

Re: [osol-code] [ksh93-integration-discuss] extremly bad performance of Solaris regex

2007-11-01 Thread Jens Elkner
On Thu, Nov 01, 2007 at 12:37:42AM -0400, Glenn Fowler wrote: > I apologize to the list for not seeing the url containing the pertinent > info *in the first post* -- I'll repay by providing results for other > regex implementations Cool! Thanx a lot in advance, jel. -- Otto-von-Guericke Univer

Re: [osol-code] problems with CC -fast compilation

2007-11-01 Thread Andrew C. Henle
Are you running on SPARC machines, or x86? If on SPARC, your problem is probably related to memory alignment. The "-fast" option implies the "-memalign" option (for Studio 12, anyway. It changes somewhat for different versions). That can drastically change the layout of structures and classe

Re: [osol-code] Find out mutex owner

2007-11-01 Thread Andrew C. Henle
Assuming you're using Studio 12, you can read up on the "Thread Analyzer" in the Performance Analyzer manual. It's designed to do things like deadlock analysis. You can get an overview of what it does with "man tha". This message posted from opensolaris.org _

Re: [osol-code] [ksh93-integration-discuss] extremly badperformance of Solaris regex

2007-11-01 Thread Joerg Schilling
Roland Mainz <[EMAIL PROTECTED]> wrote: > > regex.c RegexTest.java MHz > > Solaris sparc 12.14u 0.00s 0:12.25 99.1% 5324 ms 1503 > > Solaris x86 5.85u 0.00s 0:05.86 99.8% 2190 ms 2813 > > Linux0.676u 0.020s 0:

Re: [osol-code] [perf-discuss] extremly bad performance of Solaris regex

2007-11-01 Thread Joerg Schilling
Fintan Ryan <[EMAIL PROTECTED]> wrote: > Hi, > > >>> Linux i6860.704u 0.004s 0:00.70 100.0%5587 ms > >>> 2079.593 > >> 1. Which locale do you use ? > > > > LC_CTYPE is set to en_US and LC_LANG/LC_ALL are unset. So I assume > > 'en_US'. > > > > Can you try using the C local

Re: [osol-code] way to disallow further module load/unload operations?

2007-11-01 Thread Darren J Moffat
Joerg Schilling wrote: > Stephen Hahn <[EMAIL PROTECTED]> wrote: > >> * Richard L. Hamilton <[EMAIL PROTECTED]> [2007-10-31 19:51]: >>> Is there a way to disallow further kernel module load/unload >>> operations (including automatic loading of modules) pending (a) reboot >>> (for security too), or

Re: [osol-code] way to disallow further module load/unload operations?

2007-11-01 Thread Darren J Moffat
Joerg Schilling wrote: > "Richard L. Hamilton" <[EMAIL PROTECTED]> wrote: > >> Is there a way to disallow further kernel module load/unload operations >> (including automatic >> loading of modules) pending (a) reboot (for security too), or in a less dire >> form (b) pending >> an explicit unlock

Re: [osol-code] page_get_{free,cache}list

2007-11-01 Thread Gavin Maltby
Rafael Vanoni wrote: Hi everyone I'm using page_get_{free,cache}list() to get pages from specific lgroups, during boot - after lgrp_plat_probe() on main(). But I don't fully understand the implications of using those calls outside page_create_va(). I've read it, but it's not an easy one to

Re: [osol-code] way to disallow further module load/unload operations?

2007-11-01 Thread Joerg Schilling
Stephen Hahn <[EMAIL PROTECTED]> wrote: > * Richard L. Hamilton <[EMAIL PROTECTED]> [2007-10-31 19:51]: > > Is there a way to disallow further kernel module load/unload > > operations (including automatic loading of modules) pending (a) reboot > > (for security too), or in a less dire form (b) pen

Re: [osol-code] [ksh93-integration-discuss] extremly bad performance of Solaris regex

2007-11-01 Thread Joerg Schilling
Jens Elkner <[EMAIL PROTECTED]> wrote: > On Tue, Oct 30, 2007 at 11:07:41PM -0700, Garrett D'Amore wrote: > > Don't most 3rd party software apps use a version of either GNU regex or > > perl regex? > > AFAIK they usually use the system's regex, since usually faster. > I think, one year ago, I als