Re: CVS commit: src

2010-02-07 Thread David Holland
On Sat, Feb 06, 2010 at 11:45:27PM +, Havard Eidnes wrote:
  When using -lcurses, you also need -lterminfo.
  This fixes the build for sun2, and also builds with LDSTATIC=-static,
  since archive libraries don't record inter-library dependencies.

Right, but this is not really a desirable state to be in, since
historically the normal link lines are either -lcurses -ltermcap or
just -lcurses, and therefore a lot of configure scripts will break. On
sun2.

(Didn't the curses library image once contain a copy of termcap or
something? Or am I confusing this with some other similar case?)

-- 
David A. Holland
dholl...@netbsd.org


CVS commit: src/share/man/man9

2010-02-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb  7 10:49:36 UTC 2010

Modified Files:
src/share/man/man9: spl.9

Log Message:
Xref i386/splraise.9 and bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/share/man/man9/spl.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amiga/dev

2010-02-07 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun Feb  7 12:52:04 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: atzsc.c

Log Message:
Remove a now-unused variable declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/amiga/dev/atzsc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  7 15:51:29 UTC 2010

Modified Files:
src/sys/uvm: uvm_swap.c

Log Message:
Use filesystem blocks to address filesystem objects. f_iosize just
happens to be the same for current filesystems.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dkwedge

2010-02-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  7 16:04:31 UTC 2010

Modified Files:
src/sys/dev/dkwedge: dk.c

Log Message:
d_psize routine returns a number of blocks or -1 on error.
d_dump routine returns 0 or an error code.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/dkwedge/dk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/share/man/man9

2010-02-07 Thread Joerg Sonnenberger
War die Diskussion nicht, dass das Teil eigentlich gar nicht
dokumentiert sein sollte? Insofern halte ich dies fuer falsch...

Joerg

On Sun, Feb 07, 2010 at 10:49:36AM +, Thomas Klausner wrote:
 Module Name:  src
 Committed By: wiz
 Date: Sun Feb  7 10:49:36 UTC 2010
 
 Modified Files:
   src/share/man/man9: spl.9
 
 Log Message:
 Xref i386/splraise.9 and bump date for previous.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.37 -r1.38 src/share/man/man9/spl.9
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


CVS commit: src/sys/ufs

2010-02-07 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Feb  7 17:12:40 UTC 2010

Modified Files:
src/sys/ufs/ext2fs: ext2fs_inode.c
src/sys/ufs/ffs: ffs_inode.c
src/sys/ufs/lfs: lfs_inode.c
src/sys/ufs/ufs: ufs_inode.c

Log Message:
- ufs_balloc_range(): on error, only PG_RELEASED the pages that were
  allocated to extend the file to the new size. Releasing all pages
  may release pages that contains previously-written data not yet flushed
  to disk. Should fix PR kern/35704
- {ffs,lfs,ext2fs}_truncate(): Even if the inode's size is the same as
  the new length, call uvm_vnp_setsize(). *_truncate() may have been
  called by *_write() in the error path (e.g. block allocation failure
  because of quota of file system full), and at this point v_writesize
  has been set to the desired size of the file and not reverted to the
  old size. Not adjusting v_writesize to the real size cause
  genfs_do_io() to write to disk past the real end of the file.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -u -r1.103 -r1.104 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -u -r1.120 -r1.121 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.78 -r1.79 src/sys/ufs/ufs/ufs_inode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-02-07 Thread Antoine Reilles
Module Name:src
Committed By:   tonio
Date:   Sun Feb  7 18:09:01 UTC 2010

Modified Files:
src/share/man/man4: uthum.4

Log Message:
Fix typo in Email address, spotted by pgoyette@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/uthum.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2010-02-07 Thread Antoine Reilles
Module Name:src
Committed By:   tonio
Date:   Sun Feb  7 18:17:19 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
Note the import of uthum driver from openbsd


To generate a diff of this commit:
cvs rdiff -u -r1.1354 -r1.1355 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2010-02-07 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Feb  7 20:55:46 UTC 2010

Modified Files:
src/sys/dev/pci: amdpm.c

Log Message:
Recognize the i2c bus on the AMD768 PCI-ISA/LPC Bridge

Resolves PR/42759 - thanks Michael Stapelberg


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/amdpm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  7 23:25:07 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Make UVMHIST build again.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src

2010-02-07 Thread David Holland
On Tue, Feb 02, 2010 at 03:30:55AM +, YAMAMOTO Takashi wrote:
some MD implementations might have this for their internal use?
it sounds useless and confusing to me.
   
   It has two legitimate audiences: (1) people bringing up new ports, who
   may not already know the ins and outs of making MD spl handling go,
   and who would be better off reading and understanding documentation
   than blindly cutting and pasting existing logic; and also (2) anyone
   looking to unify common MD code and make it MI.
  
  i don't think it's what this man page is for.
  
  having such documentation somewhere might be helpful, sure.  i even
  suggested to put it as comments along the code.  however please don't
  put them in this man page.

I think the solution that's been committed is an acceptable way of
dealing with this.

 Of course, we could get rid of them and move to MI spl functions :-)
 (see tech-kern, ad@ just found the thread and thereby
 reminded me of it)

we are discussing if we want to describe MD internal details in the
man page of MI spl interfaces.
  
  i don't understand what you meant by MI spl functions.
  what this man page describes is what can be used by MI code.
  (except splraise and spllower, of course)

Their existence is MI... anyway:

   However, if you have an opinion on that thread it'd be good to hear
   it... there, of course :-)
  
  i'm not sure which thread are you talking about.

http://mail-index.netbsd.org/tech-kern/2009/10/29/msg006383.html

-- 
David A. Holland
dholl...@netbsd.org


CVS commit: src/sys/uvm

2010-02-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Feb  8 00:01:39 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Move assertion to make check more clear.


To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-07 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Feb  8 00:02:50 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
pgo_get needs the page array to be initialized.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/conf

2010-02-07 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  8 05:01:09 UTC 2010

Modified Files:
src/sys/conf [uebayasi-xip]: files std

Log Message:
Add XIP flag and globally enable it on this branch.


To generate a diff of this commit:
cvs rdiff -u -r1.974 -r1.974.2.1 src/sys/conf/files
cvs rdiff -u -r1.13 -r1.13.2.1 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/uvm

2010-02-07 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  8 05:41:43 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h

Log Message:
Make vm_physseg::lastpg exclusive end.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.153.2.1 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.59 -r1.59.2.1 src/sys/uvm/uvm_page.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/uvm

2010-02-07 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  8 05:53:05 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h

Log Message:
Make vm_physseg lookup into a real function.


To generate a diff of this commit:
cvs rdiff -u -r1.153.2.1 -r1.153.2.2 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.59.2.1 -r1.59.2.2 src/sys/uvm/uvm_page.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/uvm

2010-02-07 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  8 06:14:57 UTC 2010

Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_page.c

Log Message:
Abstract vm_physseg_find() to handle struct vm_page *.


To generate a diff of this commit:
cvs rdiff -u -r1.153.2.2 -r1.153.2.3 src/sys/uvm/uvm_page.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/mount_smbfs

2010-02-07 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Mon Feb  8 07:56:06 UTC 2010

Modified Files:
src/sbin/mount_smbfs: Makefile.inc

Log Message:
use

.if defined(HAVE_GCC)  ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_smbfs/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.