CVS commit: src/usr.bin/ldd

2010-02-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Feb 23 08:23:24 UTC 2010 Modified Files: src/usr.bin/ldd: ldd.c Log Message: Mark each object as printed as visited and then print. Fixes PR/48211. As a side effect the libraries are printed in, imo, a better order. To gene

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

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 08:46:17 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h Log Message: Make struct vm_page_md * -> struct vm_page_md * lookup a real function and hide its internal. Won't cause much performa

CVS commit: src/usr.sbin/cpuctl/arch

2010-02-23 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue Feb 23 08:46:33 UTC 2010 Modified Files: src/usr.sbin/cpuctl/arch: i386.c Log Message: check for svm feature flags if cpuid function 0x800a is available. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/

Re: CVS commit: src/sys

2010-02-23 Thread Andrew Doran
On Mon, Feb 22, 2010 at 11:31:31AM -0600, David Young wrote: > On Sun, Feb 21, 2010 at 02:11:40AM +, Darran Hunt wrote: > > Module Name:src > > Committed By: darran > > Date: Sun Feb 21 02:11:40 UTC 2010 > > > > Modified Files: > > src/sys/arch/i386/i386: trap.c

CVS commit: src/sys/rump/dev/lib/libugenhc

2010-02-23 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 23 14:05:04 UTC 2010 Modified Files: src/sys/rump/dev/lib/libugenhc: ugenhc.c Log Message: * abort correct endpoint in bulk xfers * actually free memory in the freem method (well, usually stick it to the usb freelist, but

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

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 15:27:57 UTC 2010 Modified Files: src/sys/arch/alpha/include [uebayasi-xip]: vmparam.h src/sys/arch/amd64/include [uebayasi-xip]: vmparam.h src/sys/arch/hppa/include [uebayasi-xip]: vmparam.h sr

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

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 15:38:30 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h Log Message: Put back vm_page::phys_addr for now, because removing it involves some random parts in the tree. I'll revisit this afte

CVS commit: src/external/bsd/openldap/dist/libraries/libldap

2010-02-23 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Feb 23 16:35:07 UTC 2010 Modified Files: src/external/bsd/openldap/dist/libraries/libldap: os-ip.c Log Message: PR/42873 - Henning Petersen -- missing ) To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 \

CVS commit: src/external/ibm-public/postfix/dist/src/util

2010-02-23 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Feb 23 16:41:01 UTC 2010 Modified Files: src/external/ibm-public/postfix/dist/src/util: inet_addr_local.c Log Message: PR/42874 - Henning Petersen -- misplaced } To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1

CVS commit: src/sys/dev

2010-02-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 23 19:28:00 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h src/sys/dev/pci: pci.c pcireg.h pcivar.h Log Message: Remove unused functions pci_disable_retry() and cardbus_disable_retry(). To g

CVS commit: src/lib/libcurses

2010-02-23 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Tue Feb 23 19:48:26 UTC 2010 Modified Files: src/lib/libcurses: acs.c add_wchstr.c addbytes.c addch.c border.c cchar.c curses.h curses_private.h ins_wch.c ins_wstr.c line.c move.c touchwin.c Log Message:

CVS commit: src/external/gpl3/binutils/dist/bfd

2010-02-23 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Tue Feb 23 20:42:40 UTC 2010 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-i386.c Log Message: adjust INTERP path for NetBSD (needed eg for -static -pie) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/ufs/ffs

2010-02-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 23 20:41:41 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: Replace individual queries for partition information with new helper function. Use this information to query physical sector sizes for WAPBL i

CVS commit: src/sys/kern

2010-02-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 23 20:51:26 UTC 2010 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: Use correct offset to block number calculations. Also change access to filesystem blocks to be done by fragment instead of by physical block. Fr

CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 23 20:32:33 UTC 2010 Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: spl.S Log Message: Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that in the interrupt init routine. There's a default

CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 23 20:33:48 UTC 2010 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: cpu.h locore.h pmap.h pte.h types.h vmparam.h src/sys/arch/mips/mips [matt-nb5-mips64]: genassym.cf locore.S lo

CVS commit: [matt-nb5-mips64] src/sys/arch

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 23 20:24:37 UTC 2010 Modified Files: src/sys/arch/evbmips/malta [matt-nb5-mips64]: malta_intr.c src/sys/arch/mips/include [matt-nb5-mips64]: intr.h src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_intr.c

CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 23 20:25:57 UTC 2010 Modified Files: src/sys/arch/mips/adm5120 [matt-nb5-mips64]: adm5120_intr.c src/sys/arch/mips/alchemy [matt-nb5-mips64]: au_icu.c src/sys/arch/mips/atheros [matt-nb5-mips64]: ar5312_intr.c

CVS commit: src/sys/dev/ic

2010-02-23 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Feb 23 21:38:36 UTC 2010 Modified Files: src/sys/dev/ic: ahcisata_core.c Log Message: Move ahci_channel_start() after BSY has cleared (what seems to matter here is not touching SError while BSY is asserted). Fix random behavio

CVS commit: src/sys

2010-02-23 Thread Darran Hunt
Module Name:src Committed By: darran Date: Tue Feb 23 22:19:27 UTC 2010 Modified Files: src/sys/kern: kern_dtrace.c kern_lwp.c kern_proc.c kern_synch.c src/sys/sys: dtrace_bsd.h Log Message: DTrace: Get rid of the KDTRACE_HOOKS ifdefs in the kernel. Replace the fu

CVS commit: src/sys/conf

2010-02-23 Thread Darran Hunt
Module Name:src Committed By: darran Date: Tue Feb 23 22:21:25 UTC 2010 Modified Files: src/sys/conf: files To generate a diff of this commit: cvs rdiff -u -r1.976 -r1.977 src/sys/conf/files Please note that diffs are not public domain; they are subject to the copyright

CVS commit: src/sys/kern

2010-02-23 Thread Darran Hunt
Module Name:src Committed By: darran Date: Tue Feb 23 22:22:29 UTC 2010 Removed Files: src/sys/kern: kern_dtrace.c Log Message: DTrace: remove kern_dtrace.c since it is no longer used. (Its functions are inlined in dtrace_bsd.h). To generate a diff of this commit: cvs r

Re: CVS commit: src/sys/conf

2010-02-23 Thread Christoph Egger
On 23.02.10 23:21, Darran Hunt wrote: > Module Name: src > Committed By: darran > Date: Tue Feb 23 22:21:25 UTC 2010 > > Modified Files: > src/sys/conf: files Log Message ? > > > To generate a diff of this commit: > cvs rdiff -u -r1.976 -r1.977 src/sys/conf/files > > Please not

Re: CVS commit: src/sys/conf

2010-02-23 Thread Darran Hunt
Missed the log message, fixed with cvs admin -m. Log message now reads: DTrace: remove kern_dtrace.c, no longer used Darran. On 24/02/2010, at 11:24 AM, Christoph Egger wrote: On 23.02.10 23:21, Darran Hunt wrote: Module Name:src Committed By: darran Date: Tue Feb 23 22:21:2

Re: CVS commit: src/sys/conf

2010-02-23 Thread Christoph Egger
Thanks. Christoph On 23.02.10 23:26, Darran Hunt wrote: > Missed the log message, fixed with cvs admin -m. > > Log message now reads: > > DTrace: remove kern_dtrace.c, no longer used > > Darran. > > On 24/02/2010, at 11:24 AM, Christoph Egger wrote: > >> On 23.02.10 23:21, Darran Hunt wrot

Re: CVS commit: src/sys

2010-02-23 Thread Darran Hunt
I've removed the KDTRACE_HOOKS ifdefs from the kernel code and added them to sys/dtrace_bsd.h, made the functions inline and empty bodies when KDTRACE_HOOKS is not defined. Regards, Darran. On 24/02/2010, at 12:37 AM, Andrew Doran wrote: On Mon, Feb 22, 2010 at 11:31:31AM -0600, David Youn

Re: CVS commit: src/external/cddl/osnet

2010-02-23 Thread Darran Hunt
This commit also fixed some accidentally committed changes to some of the ZFS libraries: src/external/cddl/osnet/lib/libnvpair: Makefile src/external/cddl/osnet/lib/libumem: Makefile src/external/cddl/osnet/lib/libuutil: Makefile src/external/cddl/osnet/lib/libzf

CVS commit: src/sys/arch/sparc64/include

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 22:52:21 UTC 2010 Modified Files: src/sys/arch/sparc64/include: pmap.h Log Message: oops. don't call sp_tlb_flush_pte_usiii() on USI/USII. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sparc6

Re: CVS commit: src/sys

2010-02-23 Thread YAMAMOTO Takashi
hi, >> can you please add comments on each uvm_fault_* functions you introduced? >> eg. what "uvm_fault_lower1" does is not clear from its name at all. >> to me, it isn't clear what was the purpose of the mechanical splitting of >> these functions. > > I will clean up things & put asserts & comme

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-02-23 Thread YAMAMOTO Takashi
hi, > Module Name: src > Committed By: uebayasi > Date: Thu Feb 11 06:23:04 UTC 2010 > > Modified Files: > src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c > > Log Message: > genfs_getpages() for XIP. > > Pages are directly mappable, and always there. What we need to do here is >

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

2010-02-23 Thread YAMAMOTO Takashi
hi, > Module Name: src > Committed By: uebayasi > Date: Tue Feb 9 13:06:17 UTC 2010 > > Modified Files: > src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h > > Log Message: > Implement device page struct vm_page * handling. what will happen if sizeof(uintptr_t) < sizeof(paddr_t)

CVS commit: src/sys

2010-02-23 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Wed Feb 24 00:01:12 UTC 2010 Modified Files: src/sys/dev/pci: agp.c src/sys/uvm: uvm_page.c Log Message: - Use ctob() instead of ptoa() to obtain physical addresses from frame numbers. Using ptoa() will cast to vaddr_t, which

CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Feb 24 00:09:04 UTC 2010 Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: pmap.c Log Message: Fix bug because of typo: "if (foo); something" is not the same as "if (foo) something". Add some more KASSERTs (used to find

CVS commit: [matt-nb5-mips64] src/sys/arch/algor

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Feb 24 00:09:31 UTC 2010 Modified Files: src/sys/arch/algor/algor [matt-nb5-mips64]: algor_p4032_intr.c algor_p4032var.h algor_p5064_intr.c algor_p5064var.h algor_p6032_intr.c interrupt.c machdep.c

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

2010-02-23 Thread Matt Thomas
On Feb 23, 2010, at 3:14 PM, YAMAMOTO Takashi wrote: > hi, > >> Module Name: src >> Committed By:uebayasi >> Date:Tue Feb 9 13:06:17 UTC 2010 >> >> Modified Files: >> src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h >> >> Log Message: >> Implement device page str

CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-02-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Feb 24 00:30:21 UTC 2010 Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: pmap_tlb.c Log Message: When adding a CPU to a TLB, mark the kernel pmap as "active" and "onproc" for that CPU. To generate a diff of this comm

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

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 01:19:37 UTC 2010 Modified Files: src/sys/dev [uebayasi-xip]: flash.c flashvar.h Log Message: Implement DIOCGPHYSADDR, a special block device ioctl for block devices that can be directly memory-mapped. When such a de

CVS commit: src/sys/arch/sparc64

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 01:58:53 UTC 2010 Modified Files: src/sys/arch/sparc64/include: pmap.h src/sys/arch/sparc64/sparc64: ipifuncs.c locore.s pmap.c Log Message: - re-introduce sp_tlb_flush_pte() and sp_tlb_flush_all() that call the

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

2010-02-23 Thread Masao Uebayashi
> > Log Message: > > Implement device page struct vm_page * handling. > > what will happen if sizeof(uintptr_t) < sizeof(paddr_t)? I plan to change the encoding as something like: bit 31-11 page offset in vm_physseg 10- 2 index of device vm_physseg[] 1- 0 m

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-02-23 Thread Masao Uebayashi
> what's the point of implementing it in the single VOP? > ie. how is it better than having VOP_GETPAGES_XIP and pgo_get_xip? Why not adding VOP_GETPAGES_XIP - because XIP is almost transparent to filesystems. The difference between XIP or not is only where to get pages, which is beyond filesyste

Re: CVS commit: src/sys

2010-02-23 Thread Masao Uebayashi
> merge of what? your xip branch? > it's better to do it before the merge if you want people review it. I clean up it today then. Masao

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-02-23 Thread Masao Uebayashi
> @@ -225,11 +226,18 @@ > { > KASSERT(!CPU_IS_PRIMARY(ci)); > KASSERT(ci->ci_data.cpu_idlelwp != NULL); > + KASSERT(cold); We should have a more descriptive variable to represent systems global state... (Define state transition strictly too.) Masao -- Masao Uebayashi / Tombi In

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 04:18:09 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Merge some indirect "lower" fault handlers back. Prompted by rm...@. To generate a diff of this commit: cvs rdiff -u -r1.166 -r1.167 src/sys/u

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 04:20:45 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Record if "promote" is done in UVMHIST. Do it for "upper" fault too. To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/sys/u

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 04:32:58 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Slightly clean up uvm_fault() code path after pmap_enter(). Now tasks needed for page cache are concentrated in own functions (uvm_fault_*_done(

CVS commit: src/sys/arch/sparc64

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 04:48:29 UTC 2010 Modified Files: src/sys/arch/sparc64/include: pmap.h src/sys/arch/sparc64/sparc64: cache.h Log Message: move the tlb flush routines into cache.h to avoid machine/pmap.h polution. To generate a d

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 05:00:55 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Revert a thinko. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/uvm/uvm_fault.c Please note that diffs are not public

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 05:26:28 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Minor clean up. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/uvm/uvm_fault.c Please note that diffs are not public

CVS commit: src/sys/arch/sparc64/sparc64

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 06:05:35 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h ipifuncs.c Log Message: fix MULTIPROCESSOR build for previous. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sparc64/sp

CVS commit: src/sys/uvm

2010-02-23 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 06:18:19 UTC 2010 Modified Files: src/sys/uvm: uvm_fault.c Log Message: uvm_fault_upper_lookup, uvm_fault_upper_neighbor: There is no point to call pmap_update() without calling pmap_enter(). (Probably calling only o

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

2010-02-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Feb 24 06:34:55 UTC 2010 Modified Files: src/sys/arch/sparc64/dev: iommu.c Log Message: Typo in comment To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/arch/sparc64/dev/iommu.c Please note that diffs ar

CVS commit: src/sys/arch/hppa/hppa

2010-02-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Feb 24 06:38:53 UTC 2010 Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: s/printf/db_printf/ in a few places. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/arch/hppa/hppa/pmap.c Please not