Re: cvs commit: src/sys/arm/include pmap.h src/sys/arm/arm machdep.c pmap.c

2005-11-06 Thread Alan Cox
On Sun, Nov 06, 2005 at 04:10:28PM +, Olivier Houchard wrote: > cognet 2005-11-06 16:10:28 UTC > > FreeBSD src repository > > Modified files: > sys/arm/include pmap.h > sys/arm/arm machdep.c pmap.c > Log: > MFi386 rev 1.536 (sort of) > Move what can be m

cvs commit: src/sys/vm vm_page.c

2005-11-07 Thread Alan Cox
alc 2005-11-08 06:33:21 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: If a physical page is mapped by two or more virtual addresses, transmitted by the zero-copy sockets method, and written to before the transmission completes, we need to

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/powerpc/powerpc pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h vm_p

2005-11-09 Thread Alan Cox
alc 2005-11-09 08:19:21 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c sys/powerpc/powerpc pmap.c sys/sparc64/sparc64 pmap.c sys/vm

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c

2005-11-12 Thread Alan Cox
alc 2005-11-13 02:17:05 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c Log: In get_pv_entry() use PMAP_LOCK() instead of PMAP_TRYLOCK() when deadlock c

cvs commit: src/sys/vm uma_core.c

2005-11-12 Thread Alan Cox
alc 2005-11-13 06:22:34 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm uma_core.c Log: MFC revision 1.130 Introduce a new lock for the purpose of synchronizing access to the UMA boot pages. Disable recursion on the gen

cvs commit: src/sys/vm vm_page.c

2005-11-12 Thread Alan Cox
alc 2005-11-13 07:38:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_page.c Log: MFC revisions 1.307 and 1.308 Consider the zero-copy transmission of a page that was wired by mlock(2). If a copy-on-write fault occurs on

cvs commit: src/sys/vm uma.h uma_core.c vm_page.c

2005-11-13 Thread Alan Cox
alc 2005-11-13 08:44:25 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm uma.h uma_core.c vm_page.c Log: MFC Introduce the vm.boot_pages tunable and sysctl, which controls the number of pages reserved to bootstrap the kernel me

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/arm/arm pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/powerpc/powerpc pmap.c src/sys/sparc64/sparc64 pmap.c

2005-11-13 Thread Alan Cox
alc 2005-11-13 21:45:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/arm/arm pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c sys/powerpc/powerpc pm

cvs commit: src/sys/i386/i386 pmap.c

2005-11-14 Thread Alan Cox
alc 2005-11-15 05:54:54 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/i386/i386pmap.c Log: MFC revision 1.525 When support for 2MB/4MB pages was added in revision 1.148 an error was made in pmap_protect(): The pmap's resident count s

cvs commit: src/sys/amd64/amd64 pmap.c

2005-11-18 Thread Alan Cox
alc 2005-11-19 05:06:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/amd64/amd64 pmap.c Log: MFC revision 1.517 When support for 2MB/4MB pages was added in revision 1.148 an error was made in pmap_protect(): The pmap's resident count s

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c

2005-11-19 Thread Alan Cox
alc 2005-11-19 20:31:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c Log: MFC Begin and end the initialization of pvzone

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/arm/arm pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h vm_map.c src

2005-11-19 Thread Alan Cox
alc 2005-11-20 06:09:49 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/arm/arm pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c sys/sparc64/sparc64 pmap.c sys/vm

cvs commit: src/sys/alpha/alpha pmap.c

2005-12-02 Thread Alan Cox
alc 2005-12-02 18:02:54 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c Log: Change pmap_enter_quick() to use the vm_prot_t parameter introduced in revision 1.179 to correctly set/clear execute permission on the mapping it creates. Thus, mmap(2)ing

cvs commit: src/sys/vm vm_object.c

2005-12-03 Thread Alan Cox
alc 2005-12-03 19:37:30 UTC FreeBSD src repository Modified files: sys/vm vm_object.c Log: Eliminate unneeded preallocation at initialization. Reviewed by: tegge Revision ChangesPath 1.352 +0 -2 src/sys/vm/vm_object.c __

cvs commit: src/sys/vm vm_map.c vm_map.h

2005-12-03 Thread Alan Cox
alc 2005-12-03 22:41:15 UTC FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h Log: Eliminate unneeded preallocation at initialization. Reviewed by: tegge Revision ChangesPath 1.370 +0 -1 src/sys/vm/vm_map.c 1.118 +0

cvs commit: src/sys/vm vm_map.c

2005-12-04 Thread Alan Cox
alc 2005-12-04 22:55:41 UTC FreeBSD src repository Modified files: sys/vm vm_map.c Log: Simplify vmspace_dofree(). Revision ChangesPath 1.371 +1 -3 src/sys/vm/vm_map.c ___ cvs-all@freebsd.org maili

cvs commit: src/sys/kern kern_exec.c

2005-12-05 Thread Alan Cox
alc 2005-12-06 07:39:36 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: Reduce the scope of the page queues lock in exec_map_first_page(). The vm object lock is sufficient for reading a page's PG_BUSY and busy flags. MFC after: 1 week

cvs commit: src/sys/kern kern_exec.c src/sys/vm vm_fault.c

2005-12-11 Thread Alan Cox
alc 2005-12-11 22:06:57 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c sys/vm vm_fault.c Log: Remove unneeded calls to pmap_remove_all(). The given page is not mapped. Reviewed by: tegge Revision ChangesPath 1.

cvs commit: src/sys/vm vm_page.c

2005-12-13 Thread Alan Cox
alc 2005-12-13 19:59:10 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: Assert that the page that is given to vm_page_free_toq() does not have any managed mappings. Revision ChangesPath 1.309 +2 -0 src/sys/vm/vm_page.c ___

cvs commit: src/sys/kern imgact_elf.c src/sys/vm vm_extern.h vm_glue.c

2005-12-16 Thread Alan Cox
alc 2005-12-16 18:34:14 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c sys/vm vm_extern.h vm_glue.c Log: Use sf_buf_alloc() instead of vm_map_find() on exec_map to create the ephemeral mappings that are used as the source for

cvs commit: src/sys/kern imgact_elf.c

2005-12-16 Thread Alan Cox
alc 2005-12-16 19:14:25 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Style: The second argument to vm_map_find() should be NULL instead of 0. Revision ChangesPath 1.168 +1 -1 src/sys/kern/imgact_elf.c _

cvs commit: src/sys/kern imgact_elf.c

2005-12-17 Thread Alan Cox
alc 2005-12-17 19:40:47 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Correct a long-standing problem in elfN_map_insert(): In order to copy a page to user space, the user space mapping must allow write access. In collaboration with:

Re: cvs commit: src/sys/kern imgact_elf.c src/sys/vm vm_extern.h vm_glue.c

2005-12-18 Thread Alan Cox
On Sun, Dec 18, 2005 at 04:20:53AM +0100, Pawel Jakub Dawidek wrote: > On Fri, Dec 16, 2005 at 06:34:14PM +0000, Alan Cox wrote: > +> alc 2005-12-16 18:34:14 UTC > +> > +> FreeBSD src repository > +> > +> Modified files: > +> sys/kern

cvs commit: src/sys/kern imgact_elf.c

2005-12-20 Thread Alan Cox
alc 2005-12-20 23:42:18 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Eliminate an unneeded (vm_prot_t) parameter from two functions. Eliminate unnecessary uses of a local variable. Reviewed by: tegge Revision ChangesPath

cvs commit: src/sys/kern imgact_elf.c

2005-12-21 Thread Alan Cox
alc 2005-12-21 18:58:40 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Maintain the vnode lock throughout elfN_load_file() rather than releasing it and reacquiring it in vrele(). Consequently, there is no reason to increase the referenc

cvs commit: src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c

2005-12-23 Thread Alan Cox
alc 2005-12-24 04:57:50 UTC FreeBSD src repository Modified files: sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c Log: Maintain the lock on the vnode for most of exec_elfN_imgact(). Specifically, it is required for the I/O that may be performed by elfN_load

cvs commit: src/sys/kern imgact_elf.c

2006-01-21 Thread Alan Cox
alc 2006-01-21 20:11:49 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Avoid a vm object reference leak in a rarely used code path. An executable contains at most one PT_INTERP program header. Therefore, the loop that searches for it

cvs commit: src/sys/vm vm_object.c vm_object.h

2006-01-22 Thread Alan Cox
alc 2006-01-22 23:56:20 UTC FreeBSD src repository Modified files: sys/vm vm_object.c vm_object.h Log: Make vm_object_vndeallocate() static. The external calls to it were eliminated in ufs/ffs/ffs_vnops.c's revision 1.125. Revision ChangesPath 1.3

cvs commit: src/sys/kern vfs_bio.c

2006-01-22 Thread Alan Cox
alc 2006-01-23 00:00:46 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: Remove an unnecessary call to pmap_remove_all(). The given page is not mapped because its contents are invalid. Reviewed by: tegge Revision ChangesPath 1

Re: cvs commit: src/sys/kern vfs_bio.c

2006-01-23 Thread Alan Cox
On Mon, Jan 23, 2006 at 11:27:32AM -0800, Sam Leffler wrote: > Alan Cox wrote: > >alc 2006-01-23 00:00:46 UTC > > > > FreeBSD src repository > > > > Modified files: > >sys/kern vfs_bio.c > > Log: > > Remove an unnece

cvs commit: src/sys/vm vm_page.c

2006-01-23 Thread Alan Cox
alc 2006-01-24 07:21:38 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: In vm_page_set_invalid() invalidate all of the page's mappings as soon as any part of the page's contents is invalidated. Submitted by: tegge Revision Changes

cvs commit: src/sys/vm vm_page.h vm_pageq.c

2006-01-24 Thread Alan Cox
alc 2006-01-24 19:24:54 UTC FreeBSD src repository Modified files: sys/vm vm_page.h vm_pageq.c Log: With the recent changes to the implementation of page coloring, the the option PQ_NOOPT is used exclusively by vm_pageq.c. Thus, the include of opt_vmpage.h

cvs commit: src/sys/vm vm_contig.c

2006-01-24 Thread Alan Cox
alc 2006-01-25 06:45:57 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c Log: The previous revision incorrectly changed a switch statement into an if statement. Specifically, a break statement that previously broke out of the enclosing switch w

cvs commit: src/sys/vm vm_contig.c

2006-01-25 Thread Alan Cox
alc 2006-01-26 05:51:26 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c Log: Plug a leak in the newer contigmalloc() implementation. Specifically, if a multipage allocation was aborted midway, the pages that were already allocated were not alw

cvs commit: src/sys/modules/linux Makefile src/sys/modules/nwfs Makefile src/sys/modules/smbfs Makefile src/sys/modules/svr4 Makefile

2006-01-26 Thread Alan Cox
alc 2006-01-26 19:21:28 UTC FreeBSD src repository Modified files: sys/modules/linuxMakefile sys/modules/nwfs Makefile sys/modules/smbfsMakefile sys/modules/svr4 Makefile Log: opt_vmpage.h is no longer needed here because it is not included by

cvs commit: src/sys/vm vm_map.c vm_object.c vm_pageout.c vm_pageq.c

2006-01-26 Thread Alan Cox
alc 2006-01-27 07:28:51 UTC FreeBSD src repository Modified files: sys/vm vm_map.c vm_object.c vm_pageout.c vm_pageq.c Log: Use the new macros abstracting the page coloring/queues implementation. (There are no functional changes.)

cvs commit: src/sys/vm vm_fault.c

2006-01-27 Thread Alan Cox
alc 2006-01-27 08:35:32 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Use the new macros abstracting the page coloring/queues implementation. (There are no functional changes.) Revision ChangesPath 1.212 +2 -2 src/sys/v

cvs commit: src/sys/vm vm_pageq.c

2006-01-27 Thread Alan Cox
alc 2006-01-27 21:06:37 UTC FreeBSD src repository Modified files: sys/vm vm_pageq.c Log: Style: Add blank line after local variable declarations. Revision ChangesPath 1.24 +1 -0 src/sys/vm/vm_pageq.c ___

cvs commit: src/sys/vm vm_page.c

2006-01-31 Thread Alan Cox
alc 2006-01-31 19:06:52 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: Change #if defined(DIAGNOSTIC) to KASSERT. Revision ChangesPath 1.312 +3 -4 src/sys/vm/vm_page.c ___ cvs-all

cvs commit: src/sys/vm vm_pageout.c

2006-02-04 Thread Alan Cox
alc 2006-02-04 22:37:10 UTC FreeBSD src repository Modified files: sys/vm vm_pageout.c Log: Remove an unnecessary call to pmap_remove_all(). The given page is not mapped because its contents are invalid. Revision ChangesPath 1.273 +0 -1 s

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-05 Thread Alan Cox
On Thu, Feb 02, 2006 at 01:06:37PM +0300, Oleg Bulyzhin wrote: > On Thu, Feb 02, 2006 at 09:58:32AM +, Oleg Bulyzhin wrote: > > oleg2006-02-02 09:58:32 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/bge if_bge.c > > Log: > > Enable 'comple

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-06 Thread Alan Cox
On Mon, Feb 06, 2006 at 11:15:19AM +0300, Gleb Smirnoff wrote: > On Sun, Feb 05, 2006 at 05:58:17PM -0600, Alan Cox wrote: > A> On Thu, Feb 02, 2006 at 01:06:37PM +0300, Oleg Bulyzhin wrote: > A> > On Thu, Feb 02, 2006 at 09:58:32AM +, Oleg Bulyzhin wrote: > A> > >

cvs commit: src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c src/sys/vm vm_extern.h vm_glue.c

2006-03-15 Thread Alan Cox
alc 2006-03-16 00:25:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c sys/vm vm_extern.h vm_glue.c Log: MFC File Revisions kern/imgact_aout.c1.

cvs commit: src/sys/kern imgact_aout.c

2006-03-16 Thread Alan Cox
alc 2006-03-16 08:51:59 UTC FreeBSD src repository Modified files: sys/kern imgact_aout.c Log: Correct two vm object reference leaks in error cases. Submitted by: davidxu Revision ChangesPath 1.101 +2 -0 src/sys/kern/imgact_aout.c ___

cvs commit: src/sys/i386/i386 vm_machdep.c

2006-03-17 Thread Alan Cox
are normally always used this is also not really useful and presetting accessed and modified allows the CPU to speculatively load the entry into the TLB. Both bugs can cause random data corruption. Rev: 1.262 Restore optimizations to reduce TLB shootdowns. Alan Cox pointed

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-03-21 Thread Alan Cox
alc 2006-03-21 18:07:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386pmap.c Log: Eliminate unnecessary invalidations of the entire TLB by pmap_remove(). Specifically, on mappings with PG_G set pmap_remove() not only perfor

cvs commit: src/sys/kern uipc_syscalls.c

2006-03-26 Thread Alan Cox
alc 2006-03-27 04:23:17 UTC FreeBSD src repository Modified files: sys/kern uipc_syscalls.c Log: Use NET_LOCK_GIANT() and VFS_LOCK_GIANT() instead of unconditionally acquiring Giant in kern_sendfile(). Guard against the forced reclamation of a vnode in kern

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-04-01 Thread Alan Cox
alc 2006-04-02 05:45:05 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386pmap.c Log: Introduce pmap_try_insert_pv_entry(), a function that conditionally creates a pv entry if the number of entries is below the high water mark

Re: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h

2006-04-03 Thread Alan Cox
Peter Wemm wrote: peter 2006-04-03 21:36:01 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/includepmap.h Log: Shrink the amd64 pv entry from 48 bytes to about 24 bytes. On a machine with large mmap files mapped into many processes, thi

cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c

2006-04-11 Thread Alan Cox
alc 2006-04-12 04:22:52 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c Log: Retire pmap_track_modified(). We no longer need it because we do not creat

cvs commit: src/sys/amd64/amd64 pmap.c

2006-04-12 Thread Alan Cox
alc 2006-04-13 03:31:48 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: Include opt_pmap.h for PMAP_SHPGPERPROC. PR: 94509 Revision ChangesPath 1.545 +1 -0 src/sys/amd64/amd64/pmap.c ___

cvs commit: src/sys/amd64/amd64 pmap.c

2006-04-22 Thread Alan Cox
alc 2006-04-22 20:41:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/amd64/amd64 pmap.c Log: Include opt_pmap.h for PMAP_SHPGPERPROC. PR: 94509 Approved by: re (scottl) Revision ChangesPath 1.516.2.5 +1 -0 src/sys/amd

cvs commit: src/sys/amd64/amd64 pmap.c

2006-04-22 Thread Alan Cox
alc 2006-04-22 20:41:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_1) sys/amd64/amd64 pmap.c Log: Include opt_pmap.h for PMAP_SHPGPERPROC. PR: 94509 Approved by: re (scottl) Revision ChangesPath 1.516.2.4.2.1 +1 -0 s

cvs commit: src/sys/amd64/amd64 pmap.c

2006-04-22 Thread Alan Cox
alc 2006-04-22 20:51:04 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/amd64/amd64 pmap.c Log: Include opt_pmap.h for PMAP_SHPGPERPROC. PR: 94509 Approved by: re (scottl) Revision ChangesPath 1.491.2.9 +1 -0 src/sys/amd

cvs commit: src/sys/vm vm_pageq.c

2006-04-25 Thread Alan Cox
alc 2006-04-25 17:27:24 UTC FreeBSD src repository Modified files: sys/vm vm_pageq.c Log: Add synchronization to vm_pageq_add_new_page() so that it can be called safely after kernel initialization. Remove GIANT_REQUIRED. MFC after: 6 weeks Revision

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-04-27 Thread Alan Cox
alc 2006-04-27 21:26:26 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386pmap.c Log: In general, bits in the page directory entry (PDE) and the page table entry (PTE) have the same meaning. The exception to this rule is the

cvs commit: src/sys/amd64/amd64 pmap.c

2006-04-28 Thread Alan Cox
alc 2006-04-29 00:59:16 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: Eliminate unnecessary, recursive acquisitions and releases of the page queues lock by free_pv_entry() and pmap_remove_pages(). Reduce the scope of the page queues lock i

Re: cvs commit: src/sys/i386/i386 pmap.c

2006-04-29 Thread Alan Cox
Kris Kennaway wrote: On Sat, Apr 29, 2006 at 10:21:11AM -0700, Peter Wemm wrote: page of address space by unlinking the head of the ptelist. Freeing a page is as simple as storing it on the head. I'm running my laptop with that code right now. I'm running on a couple of machines to

cvs commit: src/sys/vm vm_fault.c

2006-05-13 Thread Alan Cox
alc 2006-05-13 20:05:44 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Simplify the implementation of vm_fault_additional_pages() based upon the object's memq being ordered. Specifically, replace repeated calls to vm_page_lookup() by two

cvs commit: src/sys/sparc64/include pmap.h src/sys/sparc64/sparc64 pmap.c

2006-05-28 Thread Alan Cox
alc 2006-05-29 06:12:01 UTC FreeBSD src repository Modified files: sys/sparc64/include pmap.h sys/sparc64/sparc64 pmap.c Log: MFalpha/amd64/arm/ia64 Retire pmap_track_modified(). We no longer need it because we do not create managed mappings within the clean sub

cvs commit: src/sys/arm/arm pmap.c

2006-05-31 Thread Alan Cox
alc 2006-06-01 01:31:07 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Introduce pmap_enter_locked() and use it to reimplement pmap_enter_quick(). Tested by: cognet@ Revision ChangesPath 1.52 +19 -11src/sys/arm/arm/pmap.c

cvs commit: src/sys/ia64/ia64 busdma_machdep.c

2006-06-01 Thread Alan Cox
alc 2006-06-01 19:23:45 UTC FreeBSD src repository Modified files: sys/ia64/ia64busdma_machdep.c Log: Correct a syntax error in the previous revision. Revision ChangesPath 1.42 +1 -1 src/sys/ia64/ia64/busdma_machdep.c

cvs commit: src/sys/i386/i386 pmap.c

2006-06-04 Thread Alan Cox
alc 2006-06-05 06:08:21 UTC FreeBSD src repository Modified files: sys/i386/i386pmap.c Log: MFamd64 Eliminate unnecessary, recursive acquisitions and releases of the page queues lock by free_pv_entry() and pmap_remove_pages(). Reduce the scope of the page

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/arm/arm pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h vm_map.c src/sys/powerpc/powerpc mmu_if

2006-06-05 Thread Alan Cox
alc 2006-06-05 20:35:27 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/arm/arm pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c sys/sparc64/sparc64 pmap.c sys/vm pmap.h vm_map.c sys/pow

cvs commit: src/sys/powerpc/powerpc mmu_oea.c

2006-06-05 Thread Alan Cox
alc 2006-06-06 02:02:10 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc mmu_oea.c Log: Correct a typo in the previous revision. Revision ChangesPath 1.105 +1 -1 src/sys/powerpc/powerpc/mmu_oea.c

cvs commit: src/sys/powerpc/powerpc pmap_dispatch.c

2006-06-05 Thread Alan Cox
alc 2006-06-06 02:00:08 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc pmap_dispatch.c Log: Add a stub for pmap_enter_object(). Revision ChangesPath 1.5 +7 -0 src/sys/powerpc/powerpc/pmap_dispatch.c _

cvs commit: src/sys/arm/arm pmap.c src/sys/arm/include pmap.h

2006-06-05 Thread Alan Cox
alc 2006-06-06 04:32:20 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c sys/arm/include pmap.h Log: Add partial pmap locking. Eliminate the unused allpmaps list. Tested by: cognet@ Revision ChangesPath 1.55 +16 -7

cvs commit: src/sys/arm/arm pmap.c

2006-06-06 Thread Alan Cox
alc 2006-06-06 17:27:53 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Add partial pmap locking. Tested by: cognet@ Revision ChangesPath 1.56 +34 -30src/sys/arm/arm/pmap.c ___ c

cvs commit: src/sys/arm/arm pmap.c

2006-06-07 Thread Alan Cox
alc 2006-06-07 17:14:48 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Properly synchronize access to the pmap in pmap_extract_and_hold(). Eliminate an unneeded variable from pmap_extract_and_hold(). Tested by: cognet@ Revision Cha

cvs commit: src/sys/arm/arm pmap.c

2006-06-07 Thread Alan Cox
alc 2006-06-07 20:54:31 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Add pmap locking to pmap_fault_fixup(). Add an assertion to pmap_vac_me_harder(). Tested by: cognet@ Revision ChangesPath 1.59 +7 -16 src/sys/arm

cvs commit: src/sys/arm/arm pmap.c

2006-06-08 Thread Alan Cox
alc 2006-06-09 03:54:20 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Add pmap locking to pmap_extract(). Tested by: cognet@ Revision ChangesPath 1.60 +8 -4 src/sys/arm/arm/pmap.c ___

cvs commit: src/sys/arm/arm pmap.c

2006-06-09 Thread Alan Cox
alc 2006-06-10 05:20:18 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Add a lock assertion. Remove dead (locking) code. Change some white space. Reviewed by: cognet@ Revision ChangesPath 1.61 +4 -36 src/sys/arm/arm/p

cvs commit: src/sys/vm vm_meter.c

2006-06-09 Thread Alan Cox
alc 2006-06-10 05:29:38 UTC FreeBSD src repository Modified files: sys/vm vm_meter.c Log: Enable debug.mpsafevm on arm by default. Tested by: cognet@ Revision ChangesPath 1.87 +1 -1 src/sys/vm/vm_meter.c ___

cvs commit: src/sys/arm/arm pmap.c

2006-06-10 Thread Alan Cox
alc 2006-06-11 04:14:36 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Eliminate spl calls. Revision ChangesPath 1.62 +0 -11 src/sys/arm/arm/pmap.c ___ cvs-all@freebsd.org mailing li

cvs commit: src/sys/arm/arm pmap.c

2006-06-10 Thread Alan Cox
alc 2006-06-11 04:53:06 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: Remove pmap_pagedaemon_waken and update pmap_get_pv_entry() to match the current interface with the machine-independent layer. Without this change, the page daemon would o

cvs commit: src/sys/vm vm_page.h vm_pageq.c

2006-08-24 Thread Alan Cox
alc 2006-08-25 04:36:19 UTC FreeBSD src repository Modified files: sys/vm vm_page.h vm_pageq.c Log: The return value from vm_pageq_add_new_page() is not used. Eliminate it. Revision ChangesPath 1.142 +1 -1 src/sys/vm/vm_page.h 1.29 +

cvs commit: src/sys/arm/include vmparam.h src/sys/ia64/include vmparam.h src/sys/powerpc/include vmparam.h

2006-08-25 Thread Alan Cox
alc 2006-08-25 23:51:11 UTC FreeBSD src repository Modified files: sys/arm/include vmparam.h sys/ia64/include vmparam.h sys/powerpc/include vmparam.h Log: Eliminate unused definitions. (They came from NetBSD.) Discussed with: cognet, grehan, marcel

cvs commit: src/sys/vm vm_contig.c

2006-08-25 Thread Alan Cox
alc 2006-08-26 02:43:23 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c Log: Prevent a call to contigmalloc() that asks for more physical memory than the machine has from causing a panic. Submitted by: Michael Plass PR: 101668 MFC after:

cvs commit: src/sys/vm vm_page.c vm_page.h

2006-08-27 Thread Alan Cox
alc 2006-08-27 19:50:13 UTC FreeBSD src repository Modified files: sys/vm vm_page.c vm_page.h Log: Refactor vm_page_sleep_if_busy() so that the test for a busy page is inlined and a procedure call is made in the rare case, i.e., when it is necessary to sleep

cvs commit: src/sys/vm vm_contig.c vm_page.h

2006-09-03 Thread Alan Cox
alc 2006-09-03 22:24:09 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c vm_page.h Log: Make vm_page_release_contig() static. Revision ChangesPath 1.53 +1 -1 src/sys/vm/vm_contig.c 1.144 +0 -1 src/sys/vm/vm_page.h __

cvs commit: src/sys/vm vm_contig.c

2006-09-05 Thread Alan Cox
alc 2006-09-05 23:10:59 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_contig.c Log: MFC revision 1.52 Prevent a call to contigmalloc() that asks for more physical memory than the machine has from causing a panic. Rev

cvs commit: src/sys/sparc64/sparc64 tsb.c

2006-09-22 Thread Alan Cox
alc 2006-09-22 07:02:15 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 tsb.c Log: The sparc64/sparc64/pmap.c implementations of pmap_remove(), pmap_protect(), and pmap_copy() have optimizations for regions larger than PMAP_TSB_THRESH (which works out to 1

cvs commit: src/sys/sparc64/sparc64 pmap.c

2006-09-22 Thread Alan Cox
alc 2006-09-22 07:16:36 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 pmap.c Log: The fix in revision 1.152 converted in the wrong direction. Fix a typo in a comment. Submitted by: Michael Plass Revision ChangesPath 1.159 +2 -2

cvs commit: src/sys/sparc64/sparc64 tsb.c

2006-09-26 Thread Alan Cox
alc 2006-09-27 04:53:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/sparc64/sparc64 tsb.c Log: MFC revision 1.38 The sparc64/sparc64/pmap.c implementations of pmap_remove(), pmap_protect(), and pmap_copy() have optimizations for regions

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-09-27 Thread Alan Cox
alc 2006-09-27 18:10:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/amd64/amd64 pmap.c sys/i386/i386pmap.c Log: MFC Correct a very old and very obscure bug: vmspace_fork() calls pmap_copy() if the mapping is VM_INHERIT_SH

cvs commit: src/sys/vm vm_object.c

2006-09-28 Thread Alan Cox
alc 2006-09-29 04:37:23 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_object.c Log: MFC revision 1.358: Lock the vm_object while checking its type to see if it is a vnode-backed object that requires Giant in vm_object_deall

cvs commit: src/sys/vm vm_page.c

2006-09-28 Thread Alan Cox
alc 2006-09-29 04:51:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_page.c Log: MFC revisions 1.313 and 1.328: When the VM needs to allocated physical memory pages (for non interrupt use) and it has not plenty of free pa

Re: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-10-01 Thread Alan Cox
, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E -- On Wed, 27 Sep 2006, Alan Cox wrote: alc 2006-09-27 18:10

Re: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

2006-10-01 Thread Alan Cox
Martin Blapp wrote: Hi, The assertion that fails for you under HEAD does not exist in RELENG_6. Have you seen a different assertion failure or crash in RELENG_6 since this patch was applied there? I would have to backgrade my box to RELENG_6 to do so. But you may try it yourself, just u

cvs commit: src/sys/vm vnode_pager.c

2006-10-08 Thread Alan Cox
alc 2006-10-08 20:26:16 UTC FreeBSD src repository Modified files: sys/vm vnode_pager.c Log: Change vnode_pager_generic_getpages() so that it does not panic if the given file is sparse. Instead, it zeroes the requested page. Reviewed by: tegge PR: kern

cvs commit: src/sys/vm vnode_pager.c

2006-10-10 Thread Alan Cox
alc 2006-10-10 18:26:18 UTC FreeBSD src repository Modified files: sys/vm vnode_pager.c Log: Distinguish between two distinct kinds of errors from VOP_BMAP() in vnode_pager_generic_getpages(): (1) that VOP_BMAP() is unsupported by the underlying file system

cvs commit: src/sys/vm vnode_pager.c

2006-10-13 Thread Alan Cox
alc 2006-10-14 06:04:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vnode_pager.c Log: MFC revision 1.229 Change vnode_pager_generic_getpages() so that it does not panic if the given file is sparse. Instead, it zeroes the

cvs commit: src/sys/vm vnode_pager.c

2006-10-14 Thread Alan Cox
alc 2006-10-14 08:20:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/vm vnode_pager.c Log: MFC revision 1.229 Change vnode_pager_generic_getpages() so that it does not panic if the given file is sparse. Instead, it zeroes the

cvs commit: src/sys/vm vnode_pager.c

2006-10-14 Thread Alan Cox
alc 2006-10-14 22:09:03 UTC FreeBSD src repository Modified files: sys/vm vnode_pager.c Log: Change vnode_pager_addr() such that on returning it distinguishes between an error returned by VOP_BMAP() and a hole in the file. Change the callers to vnode_page

cvs commit: src/sys/vm vnode_pager.c

2006-10-14 Thread Alan Cox
alc 2006-10-14 23:21:48 UTC FreeBSD src repository Modified files: sys/vm vnode_pager.c Log: Long ago, revision 1.22 of vm/vm_pager.h introduced a bug. Specifically, it introduced a check after the call to file system's get pages method that assumes that th

cvs commit: src/sys/vm vm_fault.c vm_map.c

2006-10-21 Thread Alan Cox
alc 2006-10-21 21:02:05 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c vm_map.c Log: Eliminate unnecessary PG_BUSY tests. They originally served a purpose that is now handled by vm object locking. Revision ChangesPath 1.220 +1 -1

cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c

2006-10-21 Thread Alan Cox
alc 2006-10-22 04:18:01 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386pmap.c sys/ia64/ia64pmap.c Log: Eliminate unnecessary PG_BUSY tests. Revision ChangesPath 1.572 +1 -1 src/sys/amd64/amd64

cvs commit: src/sys/kern kern_exec.c uipc_syscalls.c vfs_bio.c vfs_cluster.c src/sys/vm device_pager.c phys_pager.c vm_contig.c vm_fault.c vm_object.c vm_page.c vm_page.h vm_pageout.c

2006-10-21 Thread Alan Cox
alc 2006-10-22 04:28:14 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c uipc_syscalls.c vfs_bio.c vfs_cluster.c sys/vm device_pager.c phys_pager.c vm_contig.c vm_fault.c vm_object.c

cvs commit: src/sys/kern kern_exec.c src/sys/pci agp.c src/sys/vm vm_object.c vm_page.c

2006-10-22 Thread Alan Cox
alc 2006-10-22 21:18:48 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c sys/pci agp.c sys/vm vm_object.c vm_page.c Log: The page queues lock is no longer required by vm_page_busy() or vm_page_wakeup(). Reduce

cvs commit: src/sys/vm swap_pager.c vm_fault.c vm_glue.c vm_kern.c

2006-10-22 Thread Alan Cox
alc 2006-10-23 05:27:31 UTC FreeBSD src repository Modified files: sys/vm swap_pager.c vm_fault.c vm_glue.c vm_kern.c Log: The page queues lock is no longer required by vm_page_wakeup(). Revision ChangesPath 1.284 +2 -2

  1   2   3   4   5   >