Re: GSOC 2013 project " Kernel Size Reduction for Embedded System "

2013-04-09 Thread Edward Tomasz Napierała
In order to optimize - in this case for size - we need a way to measure what should we focus on, and it looks like we don't have it yet. Would it be possible to write a tool - e.g. by instrumenting LLVM - that would make it possible to calculate, for every function in the call graph, the amount of

Re: mdconfig(8) argument parsing.

2012-01-25 Thread Edward Tomasz Napierała
On Wed, Jan 25, 2012 at 11:52:02AM +0100, Damien Fleuriot wrote: > On 1/25/12 11:44 AM, Edward Tomasz Napierała wrote: > > Patch below changes the way mdconfig(8) parses its arguments: > > it removes the ordering requirement and makes error messages > > more descriptive; i

mdconfig(8) argument parsing.

2012-01-25 Thread Edward Tomasz Napierała
Patch below changes the way mdconfig(8) parses its arguments: it removes the ordering requirement and makes error messages more descriptive; it also makes the code more readable by getting rid of the 'cmdline' variable. Now, the mdconfig(8) syntax is somewhat weird, and I'm not sure I tested all t

Speeding up the loader(8).

2012-01-23 Thread Edward Tomasz Napierała
Some time ago I've spent some time on trying to speed up loading modules by the loader(8). Result can be found at: http://people.freebsd.org/~trasz/fast-loader-3.diff This patch solves three issues: 1. As it is now, the code in biosdisk.c tries very hard to split reasonably sized (up to 64k

Re: Autosizing column widths in ps(1).

2011-07-27 Thread Edward Tomasz Napierała
Wiadomość napisana przez Alexander Best w dniu 25 lip 2011, o godz. 00:22: > On Sun Jul 24 11, Edward Tomasz Napiera?a wrote: >> Wiadomo?? napisana przez Test Rat w dniu 22 lip 2011, o godz. 19:21: >>> Edward Tomasz Napiera?a writes: >>> Patch below changes ps(1) to automatically size column

Re: Autosizing column widths in ps(1).

2011-07-26 Thread Edward Tomasz Napierała
Wiadomość napisana przez Alexander Best w dniu 25 lip 2011, o godz. 01:06: > On Sun Jul 24 11, Alexander Best wrote: >> On Sun Jul 24 11, Edward Tomasz Napiera?a wrote: >>> Wiadomo?? napisana przez Test Rat w dniu 22 lip 2011, o godz. 19:21: Edward Tomasz Napiera?a writes: > Patch b

Re: Autosizing column widths in ps(1).

2011-07-24 Thread Edward Tomasz Napierała
Wiadomość napisana przez Test Rat w dniu 22 lip 2011, o godz. 19:21: > Edward Tomasz Napierała writes: > >> Patch below changes ps(1) to automatically size column widths according to >> their >> contents. From the user point of view, it prevents breaking layout with to

Autosizing column widths in ps(1).

2011-07-22 Thread Edward Tomasz Napierała
Patch below changes ps(1) to automatically size column widths according to their contents. From the user point of view, it prevents breaking layout with too wide values and in most cases makes output narrower. From the developer point of view, it removes the need to specify widths. Testing is

Re: Compiling kernel with gcc43

2010-03-25 Thread Edward Tomasz Napierała
Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: > 2010/3/24 Mario Lobo >> >> Anyway,my question boils down to: Is there a way to build the kernel with >> gcc43, with minimal tweaking? Am i attempting something out of my league? This is what I use to compile kernel on 9.0-CU