Re: Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Ted Unangst
On Fri, Nov 18, 2011, Christiano F. Haesbaert wrote: >> What is the line between sysctl vs globals ? >> > > Checking again, it makes sense having the sysctl IMHO. > We have something very similar in kern.forkstat, kern.nchstats, and > the protocol stats. I think those stats are useful for a sysa

Re: Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Christiano F. Haesbaert
On 18 November 2011 00:59, Christiano F. Haesbaert wrote: > On 17 November 2011 23:39, Ted Unangst wrote: >> On Fri, Nov 18, 2011, Thordur Bjornsson wrote: >>> On 2011 Nov 17 (Thu) at 21:18:24 -0200 (-0200), Christiano F. Haesbaert >>> wrote: Moving this to tech@ Hi, I wa

Re: Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Christiano F. Haesbaert
On 17 November 2011 23:39, Ted Unangst wrote: > On Fri, Nov 18, 2011, Thordur Bjornsson wrote: >> On 2011 Nov 17 (Thu) at 21:18:24 -0200 (-0200), Christiano F. Haesbaert >> wrote: >>> Moving this to tech@ >>> >>> Hi, >>> >>> I was studying the scheduler code after watching tedu's talk, I'd like >>

Re: Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Ted Unangst
On Fri, Nov 18, 2011, Thordur Bjornsson wrote: > On 2011 Nov 17 (Thu) at 21:18:24 -0200 (-0200), Christiano F. Haesbaert > wrote: >> Moving this to tech@ >> >> Hi, >> >> I was studying the scheduler code after watching tedu's talk, I'd like >> to expose this statistics to userland so that I can try

Re: Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Thordur Bjornsson
On 2011 Nov 17 (Thu) at 21:18:24 -0200 (-0200), Christiano F. Haesbaert wrote: > Moving this to tech@ > > Hi, > > I was studying the scheduler code after watching tedu's talk, I'd like > to expose this statistics to userland so that I can try playing with > cache affinity in the future: > > giml

Expose some scheduler statistics to userland via sysctl

2011-11-17 Thread Christiano F. Haesbaert
Moving this to tech@ Hi, I was studying the scheduler code after watching tedu's talk, I'd like to expose this statistics to userland so that I can try playing with cache affinity in the future: gimli:src: sysctl kern.schedstat

Re: diff: str[n]cmp in ksh(1)

2011-11-17 Thread Alexandre Ratchov
On Thu, Nov 17, 2011 at 09:48:36PM +0800, Michael W. Bombardieri wrote: > Hi tech, > > I have a simple diff for ksh(1) which takes > care to not read past the end of the static > buffer 'holdbuf' where the length of 'pat' > is greater than the buffer. > holdbuf is zero-terminated, so strcmp() wo

Re: libedit wchar allocation issue

2011-11-17 Thread Nicholas Marriott
Sure, looks good, I'll use your version. On Wed, Nov 16, 2011 at 02:00:51PM +0100, Stefan Sperling wrote: > On Tue, Nov 15, 2011 at 11:09:08PM +, Nicholas Marriott wrote: > > Hi > > > > libedit miscalculates the amount of space needed for constructing it's > > wchar_t version of argv, causin

Re: alpha and gcc4; have foot, will shoot

2011-11-17 Thread Janjaap van Velthooven
Christian Weisgerber wrote and mailed: > Janjaap van Velthooven wrote: > > > For some obscure reason this gave successes. After splitting up > > alpha/rtld_machine.c into 2 or mor parts, any combination where the > > 1st and the 3rd function (_dl_md_reloc and _dl_md_reloc_got) were > > not in the

Re: alpha and gcc4; have foot, will shoot

2011-11-17 Thread Christian Weisgerber
Janjaap van Velthooven wrote: > For some obscure reason this gave successes. After splitting up > alpha/rtld_machine.c into 2 or mor parts, any combination where the > 1st and the 3rd function (_dl_md_reloc and _dl_md_reloc_got) were > not in the same source allowed the split-up sources to be com

Allow clang++ to work on OpenBSD

2011-11-17 Thread Pascal Stumpf
Hi, this diff was already suggested by matthew@ some time ago. It renders clang++ usable with gcc's C++ include files, see: http://marc.info/?l=openbsd-tech&m=130229126704450&w=2 I don't expect any fallout, but just to be sure, can this go through a bulk build on affected platforms (gcc4)? In

diff: str[n]cmp in ksh(1)

2011-11-17 Thread Michael W. Bombardieri
Hi tech, I have a simple diff for ksh(1) which takes care to not read past the end of the static buffer 'holdbuf' where the length of 'pat' is greater than the buffer. Does anyone think this is worthwhile? If not, should we remove the XXX comment altogether? - Michael Index: vi.c =

Alert - The Branding Revolution

2011-11-17 Thread Robert Stacey
As you know the world's biggest branding revolution starts January 2012. What direct implications does it have for your organization? What do your teams need to know now and what must they be prepared for in advance to face the tidal wave? This White Paper provides an in-depth overview and can b