Re: Make mfiutil(8) more robust

2010-10-03 Thread Garrett Cooper
On Sun, Oct 3, 2010 at 8:30 PM, Garrett Cooper wrote: >    As discussed offlist with some of the Yahoo! FreeBSD folks, > mfiutil catches errors, but doesn't communicate it back up to the > executing process. Examples follow... >    Before: > > $ ./mfiutil show adapter > mfiutil: mfi_open: Permissi

Fix mfiutil compile with -DDEBUG

2010-10-03 Thread Garrett Cooper
make -DDEBUG is broken in mfiutil: $ make -DDEBUG cc -O2 -pipe -fno-strict-aliasing -pipe -O2 -march=nocona -fno-builtin-strftime -DDEBUG -Wall -Wcast-align -Woverflow -Wsign-compare -Wunused -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -

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

2010-10-03 Thread Alan Cox
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, > >> pager_map,...) exist as result of 'kmem_suballoc' fun

Re: Improve OptionalObsoleteFiles.inc

2010-10-03 Thread Garrett Cooper
On Sun, Oct 3, 2010 at 6:53 AM, Paul B Mahol wrote: > Hi, > > > diff --git a/tools/build/mk/OptionalObsoleteFiles.inc > b/tools/build/mk/OptionalObsoleteFiles.inc > index d3aa4b2..2123107 100644 > --- a/tools/build/mk/OptionalObsoleteFiles.inc > +++ b/tools/build/mk/OptionalObsoleteFiles.inc > @@

Re: Examining the VM splay tree effectiveness

2010-10-03 Thread Ivan Voras
On 10/01/10 20:28, Ed Schouten wrote: > Andre, > > * Andre Oppermann wrote: >> A splay tree is an interesting binary search tree with insertion, >> lookup and removal performed in O(log n) *amortized* time. With >> the *amortized* time being the crucial difference to other binary trees. >> On ev

Re: Examining the VM splay tree effectiveness

2010-10-03 Thread Ivan Voras
On 10/01/10 10:54, Andre Oppermann wrote: > On 30.09.2010 19:51, Ivan Voras wrote: >> On 09/30/10 18:37, Andre Oppermann wrote: >> >>> Both the vmmap and page table make use of splay trees to manage the >>> entries and to speed up lookups compared to long to traverse linked >>> lists or more memory

Improve OptionalObsoleteFiles.inc

2010-10-03 Thread Paul B Mahol
Hi, diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index d3aa4b2..2123107 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -141,6 +141,7 @@ OLD_FILES+=usr/share/man/man8/authpf.8.gz .endif