Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread Alexander Leidinger
Quoting Paul B Mahol (from Mon, 4 Oct 2010 11:01:45 +): On 10/4/10, Alexander Leidinger wrote: Quoting Paul B Mahol (from Sun, 3 Oct 2010 13:53:26 +): Hi, diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index d3aa4b2..2123107 10064

Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread Alexander Leidinger
Quoting Gonzalo Nemmi (from Tue, 5 Oct 2010 01:30:00 +0200): On Mon, Oct 4, 2010 at 5:31 PM, Paul B Mahol wrote: On 10/4/10, Peter Pentchev wrote: On Mon, Oct 04, 2010 at 11:01:45AM +, Paul B Mahol wrote: On 10/4/10, Alexander Leidinger wrote: > At least status-mailq is still use

Re: page table fault, which should map kernel virtual address space

2010-10-05 Thread Svatopluk Kraus
On Mon, Oct 4, 2010 at 2:03 AM, Alan Cox wrote: > On Thu, Sep 30, 2010 at 6:28 AM, Svatopluk Kraus wrote: >> >> On Tue, Sep 21, 2010 at 7:38 PM, Alan Cox wrote: >> > On Mon, Sep 20, 2010 at 9:32 AM, Svatopluk Kraus >> > wrote: >> >> Beyond 'kernel_map', some submaps of 'kernel_map' (buffer_map,

Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread rank1seeker
- Original Message - From: Alexander Leidinger To: Gonzalo Nemmi Cc: freebsd-hackers@freebsd.org Date: Tue, 05 Oct 2010 11:34:23 +0200 Subject: Re: Improve OptionalObsoleteFiles.inc > Quoting Gonzalo Nemmi (from Tue, 5 Oct 2010 > 01:30:00 +0200): > > > On Mon, Oct 4, 2010 at 5:31 PM,

Timestamps in static libraries

2010-10-05 Thread Erik Cederstrand
Hello hackers, I got reminded of a problem I had a couple of years back compressing FreeBSD jails. I was using bsdiff for the compression and found out that md5 sums of static libraries (.a files) in /usr/lib and /usr/local/lib didn't match between jails, even though the source code used to cre

Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread Alexander Leidinger
Quoting rank1see...@gmail.com (from Tue, 05 Oct 2010 14:48:23 +0200): - Original Message - From: Alexander Leidinger To: Gonzalo Nemmi Cc: freebsd-hackers@freebsd.org Date: Tue, 05 Oct 2010 11:34:23 +0200 Subject: Re: Improve OptionalObsoleteFiles.inc As the one who wrote the functi

Re: Timestamps in static libraries

2010-10-05 Thread Erik Trulsson
On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: > Hello hackers, > > I got reminded of a problem I had a couple of years back compressing > FreeBSD jails. I was using bsdiff for the compression and found out > that md5 sums of static libraries (.a files) in /usr/lib and > /usr/l

Re: Timestamps in static libraries

2010-10-05 Thread Joerg Sonnenberger
On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: > I'm wondering if this is necessary, or if this can possibly be turned > of with a knob somewhere. Newer binutils got a flag after a discussion about this and related issues in NetBSD. It basically stores 0 for the uid/gid/time fie

Re: Timestamps in static libraries

2010-10-05 Thread Benjamin Kaduk
On Tue, 5 Oct 2010, Joerg Sonnenberger wrote: On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: I'm wondering if this is necessary, or if this can possibly be turned of with a knob somewhere. Newer binutils got a flag after a discussion about this and related issues in NetBSD.

Re: sysctl for querying kmem_map->size

2010-10-05 Thread Andriy Gapon
on 30/09/2010 20:17 Andriy Gapon said the following: > > Here's a patch that adds a sysctl for querying kmem_map->size, which may be > useful > for system state/resources monitoring: > http://people.freebsd.org/~avg/sysctl-kmem_map_size.diff > > I am quite unsure about sizeof(kmem_map->size) ==

Re: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally

2010-10-05 Thread Jeremie Le Hen
Hi Kib, On Mon, Sep 27, 2010 at 06:44:57PM +0300, Kostik Belousov wrote: > Hardcoding /usr/lib as the path to the library in the script looks > problematic. For the buidlworld, you are linking resulting binaries > with the host library, instead of the buildworld-produced one. For > lib32, it make

Thread priorities

2010-10-05 Thread Eknath Venkataramani
In kern_switch.c, It is said that, Free threads are 'preassigned' to the KSEs. and that the KSEs derive their priority from threads and are put on the run queue. 1. Where do the threads receive their priorities from? 2. Does it recieve the priority from the KSEG? -- Eknath Venkataramani

Re: Timestamps in static libraries

2010-10-05 Thread Erik Cederstrand
Den 05/10/2010 kl. 15.59 skrev Erik Trulsson: > On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: >> Hello hackers, >> >> I got reminded of a problem I had a couple of years back compressing >> FreeBSD jails. I was using bsdiff for the compression and found out >> that md5 sums

kernel micro-benchmarking framework

2010-10-05 Thread Giovanni Trematerra
Hi all, based on a work of rwatson@ about micro-benchmarking, I managed to have a kernel module that exposes some sysctls. Reading sysctl associated to test start the benchmark and print the results. The code is split up in this way: test.h, test.c where the infrastructure work lives. test_sync_t

Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread Warren Block
On Tue, 5 Oct 2010, Alexander Leidinger wrote: We do not have a target which allows to go to src/bin/XXX and run "make deinstall" or similar. What is correctly written in this thread is that "make check-old" and "make delete-old" (and "make delete-old-libs") is supposed to do what you want (g

Re: Thread priorities

2010-10-05 Thread Julian Elischer
On 10/5/10 2:19 PM, Eknath Venkataramani wrote: In kern_switch.c, It is said that, Free threads are 'preassigned' to the KSEs. and that the KSEs derive their priority from threads and are put on the run queue. 1. Where do the threads receive their priorities from? from the process they are ass

issue with unsetting 'arch' flag

2010-10-05 Thread Alexander Best
hi there, i think the following example shows the problem better than a long explanation: `touch ftest && chflags arch ftest && chflags -vv 0 ftest`. ^^non-root ^^root^^non-root chflags claims to have cleared the 'arch' flag (which should be impossible as non-root user), but

Re: breaking the crunchgen logic into a share/mk file

2010-10-05 Thread Adrian Chadd
On 5 October 2010 11:19, Garrett Cooper wrote: > Hi Adrian, >    Is there a functional difference between the original file and > bsd.crunchgen.mk ? Only the bare minimum needed to make it useful: * added shared library as well as fully static library support * added a method for listing source

Re: Timestamps in static libraries

2010-10-05 Thread Tim Kientzle
On Oct 5, 2010, at 2:47 PM, Erik Cederstrand wrote: > Den 05/10/2010 kl. 15.59 skrev Erik Trulsson: > On Tue, Oct 05, 2010 at 03:28:36PM +0200, Erik Cederstrand wrote: >>> >>> I was using bsdiff for the compression and found out >>> that md5 sums of static libraries (.a files) in /usr/lib and >>>