Author: alc
Date: Sat Feb 5 21:21:27 2011
New Revision: 218345
URL: http://svn.freebsd.org/changeset/base/218345
Log:
Unless cnt exceeds MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() are
incorrectly calling vm_object_page_clean(). They are passing the length of
the range rather than
Author: alc
Date: Fri Feb 4 21:49:24 2011
New Revision: 218304
URL: http://svn.freebsd.org/changeset/base/218304
Log:
Since the last parameter to vm_object_shadow() is a vm_size_t and not a
vm_pindex_t, it makes no sense for its callers to perform atop(). Let
vm_object_shadow() do that
Author: alc
Date: Thu Feb 3 14:42:46 2011
New Revision: 218223
URL: http://svn.freebsd.org/changeset/base/218223
Log:
Eliminate unnecessary page hold_count checks. These checks predate
r90944, which introduced a general mechanism for handling the freeing
of held pages.
Reviewed by:
Author: alc
Date: Sun Jan 30 23:55:48 2011
New Revision: 218113
URL: http://svn.freebsd.org/changeset/base/218113
Log:
Release the free page queues lock earlier in vm_page_alloc().
Discussed with: kib@
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
Author: alc
Date: Sat Jan 29 15:23:02 2011
New Revision: 218070
URL: http://svn.freebsd.org/changeset/base/218070
Log:
Reenable the call to vm_map_simplify_entry() from vm_map_insert() for non-
MAP_STACK_* entries. (See r71983 and r74235.)
In some cases, performing this call to
Author: alc
Date: Wed Jan 19 15:43:54 2011
New Revision: 217581
URL: http://svn.freebsd.org/changeset/base/217581
Log:
There is no point in calling vm_object_set_writeable_dirty() on an object
that is definitively known to be swap backed since its only effects are on
vnode-backed objects.
Author: alc
Date: Mon Jan 17 19:17:26 2011
New Revision: 217508
URL: http://svn.freebsd.org/changeset/base/217508
Log:
Explicitly initialize the page's queue field to PQ_NONE instead of relying
on PQ_NONE being zero.
Redefine PQ_NONE and PQ_COUNT so that a page queue isn't allocated for
Author: alc
Date: Tue Jan 18 04:54:43 2011
New Revision: 217529
URL: http://svn.freebsd.org/changeset/base/217529
Log:
Move the definition of M_VMPGDATA to the swap pager, where the only
remaining uses are.
Modified:
head/sys/vm/swap_pager.c
head/sys/vm/vm_pager.c
Author: alc
Date: Sun Jan 16 17:33:34 2011
New Revision: 217477
URL: http://svn.freebsd.org/changeset/base/217477
Log:
Clean up the start of vm_page_alloc(). In particular, eliminate an
assertion that is no longer required. Long ago, calls to vm_page_alloc()
from an interrupt handler had
Author: alc
Date: Sun Jan 16 18:01:39 2011
New Revision: 217478
URL: http://svn.freebsd.org/changeset/base/217478
Log:
Shift responsibility for synchronizing access to the page's act_count
field to the object's lock.
Reviewed by: kib@
Modified:
head/sys/vm/vm_page.c
Author: alc
Date: Sun Jan 16 18:04:01 2011
New Revision: 217479
URL: http://svn.freebsd.org/changeset/base/217479
Log:
Update a lock annotation on the page structure.
Modified:
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.h
Author: alc
Date: Sun Jan 16 20:40:50 2011
New Revision: 217482
URL: http://svn.freebsd.org/changeset/base/217482
Log:
Sort function prototypes.
Modified:
head/sys/vm/pmap.h
Modified: head/sys/vm/pmap.h
==
---
Author: alc
Date: Sat Jan 15 19:21:28 2011
New Revision: 217453
URL: http://svn.freebsd.org/changeset/base/217453
Log:
For some time now, the kernel and kmem objects have been ordinary
OBJT_PHYS objects. Thus, there is no need for handling them specially
in vm_fault(). In fact, this
Author: alc
Date: Sat Jan 8 22:45:22 2011
New Revision: 217171
URL: http://svn.freebsd.org/changeset/base/217171
Log:
Eliminate the counting of vm_page_pa_tryrelock calls. We really don't
need it anymore. Moreover, its implementation had a type mismatch, a
long is not necessarily an
Author: alc
Date: Sun Jan 9 04:34:02 2011
New Revision: 217177
URL: http://svn.freebsd.org/changeset/base/217177
Log:
Eliminate a redundant alignment directive on the page locks array.
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
Author: alc
Date: Sat Jan 1 17:39:38 2011
New Revision: 216874
URL: http://svn.freebsd.org/changeset/base/216874
Log:
Make a couple refinements to r216799 and r216810. In particular, revise
a comment and move it to its proper place.
Reviewed by: kib
Modified:
Author: alc
Date: Wed Dec 29 20:35:36 2010
New Revision: 216807
URL: http://svn.freebsd.org/changeset/base/216807
Log:
There is no point in vm_contig_launder{,_page}() flushing held pages,
instead skip over them. As long as a page is held, it can't be reclaimed by
contigmalloc(M_WAITOK).
Author: alc
Date: Tue Dec 28 20:02:30 2010
New Revision: 216772
URL: http://svn.freebsd.org/changeset/base/216772
Log:
Correct a typo in vm_fault_quick_hold_pages().
Reported by: Bartosz Stec
Modified:
head/sys/vm/vm_fault.c
Modified: head/sys/vm/vm_fault.c
Author: alc
Date: Mon Dec 27 07:12:22 2010
New Revision: 216731
URL: http://svn.freebsd.org/changeset/base/216731
Log:
Move vm_object_print()'s prototype to the expected place.
Modified:
head/sys/vm/vm_extern.h
head/sys/vm/vm_object.h
Modified: head/sys/vm/vm_extern.h
Author: alc
Date: Sat Dec 25 21:26:56 2010
New Revision: 216699
URL: http://svn.freebsd.org/changeset/base/216699
Log:
Introduce and use a new VM interface for temporarily pinning pages. This
new interface replaces the combined use of vm_fault_quick() and
pmap_extract_and_hold() throughout
Author: alc
Date: Sat Dec 25 23:54:50 2010
New Revision: 216701
URL: http://svn.freebsd.org/changeset/base/216701
Log:
Retire vm_fault_quick(). It's no longer used.
Reviewed by: kib@
Modified:
head/sys/vm/vm_extern.h
head/sys/vm/vm_fault.c
Modified: head/sys/vm/vm_extern.h
Author: alc
Date: Sun Dec 26 01:42:52 2010
New Revision: 216702
URL: http://svn.freebsd.org/changeset/base/216702
Log:
Correct the order of the arguments to vm_fault_quick_hold_pages().
Modified:
head/sys/kern/uipc_cow.c
Modified: head/sys/kern/uipc_cow.c
Marius Strobl wrote:
Author: marius
Date: Tue Dec 21 21:32:17 2010
New Revision: 216625
URL: http://svn.freebsd.org/changeset/base/216625
Log:
Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest
kernel address space in order to leave space for the buffer cache, pipes,
Author: alc
Date: Mon Dec 20 22:49:31 2010
New Revision: 216604
URL: http://svn.freebsd.org/changeset/base/216604
Log:
Introduce vm_fault_hold() and use it to (1) eliminate a long-standing race
condition in proc_rwmem() and to (2) simplify the implementation of the
cxgb driver's
Author: alc
Date: Mon Dec 20 23:41:31 2010
New Revision: 216607
URL: http://svn.freebsd.org/changeset/base/216607
Log:
The local variable rv is still required by vm_fault_hold_user_pages().
Modified:
head/sys/dev/cxgb/ulp/tom/cxgb_vm.c
Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c
Joel Dahl wrote:
On 09-12-2010 20:16, Alan Cox wrote:
Author: alc
Date: Thu Dec 9 20:16:00 2010
New Revision: 216333
URL: http://svn.freebsd.org/changeset/base/216333
Log:
When r207410 eliminated the acquisition and release of the page queues
lock from pmap_extract_and_hold
Author: alc
Date: Sun Dec 19 07:31:56 2010
New Revision: 216555
URL: http://svn.freebsd.org/changeset/base/216555
Log:
Redo some parts of r216333, specifically, the locking changes to
pmap_extract_and_hold(), and undo the rest. In particular, I forgot
that PG_PS and PG_PTE_PAT are the same
Author: alc
Date: Fri Dec 17 22:41:22 2010
New Revision: 216511
URL: http://svn.freebsd.org/changeset/base/216511
Log:
Implement and use a single optimized function for unholding a set of pages.
Reviewed by: kib@
Modified:
head/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c
Author: alc
Date: Tue Dec 14 05:47:35 2010
New Revision: 216425
URL: http://svn.freebsd.org/changeset/base/216425
Log:
Change memguard_fudge() so that it can handle km_max being zero. Not
every platform defines VM_KMEM_SIZE_MAX, and on those platforms km_max
will be zero.
Reviewed by:
m...@freebsd.org wrote:
On Tue, Dec 7, 2010 at 5:41 AM, Marius Strobl mar...@alchemy.franken.de wrote:
On Mon, Dec 06, 2010 at 02:30:01PM -0800, m...@freebsd.org wrote:
On Mon, Dec 6, 2010 at 2:07 PM, Marius Strobl mar...@alchemy.franken.de wrote:
[lots of snip]
With that one
Author: alc
Date: Thu Dec 9 20:16:00 2010
New Revision: 216333
URL: http://svn.freebsd.org/changeset/base/216333
Log:
When r207410 eliminated the acquisition and release of the page queues
lock from pmap_extract_and_hold(), it didn't take into account that
pmap_pte_quick() sometimes
Marius Strobl wrote:
On Wed, Dec 01, 2010 at 12:19:17PM -0600, Alan Cox wrote:
Marius Strobl wrote:
On Mon, Nov 29, 2010 at 08:23:08PM +0100, Marius Strobl wrote:
On Tue, Nov 30, 2010 at 12:31:31AM +0600, Max Khon wrote:
Marius,
On Mon, Nov 29, 2010 at 1:45 AM
Marius Strobl wrote:
On Mon, Nov 29, 2010 at 08:23:08PM +0100, Marius Strobl wrote:
On Tue, Nov 30, 2010 at 12:31:31AM +0600, Max Khon wrote:
Marius,
On Mon, Nov 29, 2010 at 1:45 AM, Marius Strobl mar...@alchemy.franken.dewrote:
On Sun, Nov 28, 2010 at 07:26:20PM +, Max Khon
Author: alc
Date: Wed Dec 1 03:35:19 2010
New Revision: 216090
URL: http://svn.freebsd.org/changeset/base/216090
Log:
Correct an error in the allocation of the vm_page_dump array in
vm_page_startup(). Specifically, the dump_avail array should be used
instead of the phys_avail array to
Author: alc
Date: Wed Dec 1 05:52:27 2010
New Revision: 216094
URL: http://svn.freebsd.org/changeset/base/216094
Log:
phys_avail[] is correctly defined as an array of vm_paddr_t's in
machdep.c. Use that same type, and not vm_offset_t, in this include file.
Modified:
Author: alc
Date: Fri Nov 26 19:36:26 2010
New Revision: 215878
URL: http://svn.freebsd.org/changeset/base/215878
Log:
Make the size of the direct map easily configurable. Changing NDMPML4E
now suffices.
Increase the size of the direct map to 1TB.
An earler version of this patch
Author: alc
Date: Mon Nov 22 06:25:56 2010
New Revision: 215653
URL: http://svn.freebsd.org/changeset/base/215653
Log:
MFC r209669
Improve the comment and man page for vm_page_alloc().
Modified:
stable/8/share/man/man9/vm_page_alloc.9
stable/8/sys/vm/vm_page.c
Directory Properties:
Author: alc
Date: Mon Nov 22 07:17:27 2010
New Revision: 215659
URL: http://svn.freebsd.org/changeset/base/215659
Log:
MFC r204415, r204416, r209669
Improve the comment and man page for vm_page_alloc().
Modified:
stable/7/share/man/man9/vm_page_alloc.9
stable/7/sys/vm/vm_page.c
Author: alc
Date: Sat Nov 20 22:30:09 2010
New Revision: 215597
URL: http://svn.freebsd.org/changeset/base/215597
Log:
Optimize vm_object_terminate().
Reviewed by: kib
MFC after:1 week
Modified:
head/sys/vm/vm_object.c
Modified: head/sys/vm/vm_object.c
Author: alc
Date: Fri Nov 19 17:49:08 2010
New Revision: 215538
URL: http://svn.freebsd.org/changeset/base/215538
Log:
Reduce the amount of detail printed by vm_page_free_toq() when it panics.
Reviewed by: kib
Modified:
head/sys/vm/vm_page.c
Modified: head/sys/vm/vm_page.c
Author: alc
Date: Wed Nov 17 17:29:22 2010
New Revision: 215430
URL: http://svn.freebsd.org/changeset/base/215430
Log:
MFC r209407, r209648, r209650
Introduce and use vm_page_next() and vm_page_prev(). They provide both
a simpler and faster interface for iterating over the pages of an
Author: alc
Date: Wed Nov 17 18:21:29 2010
New Revision: 215433
URL: http://svn.freebsd.org/changeset/base/215433
Log:
MFC r209407, r209648, r209650
Introduce and use vm_page_next() and vm_page_prev(). They provide both
a simpler and faster interface for iterating over the pages of an
Author: alc
Date: Tue Nov 16 04:51:07 2010
New Revision: 215370
URL: http://svn.freebsd.org/changeset/base/215370
Log:
MFC r214953
In case the stack size reaches its limit and its growth must be
restricted, ensure that grow_amount is a multiple of the page size.
Otherwise, the
Author: alc
Date: Tue Nov 16 05:01:27 2010
New Revision: 215371
URL: http://svn.freebsd.org/changeset/base/215371
Log:
MFC r214938
Eliminate a possible race between pmap_pinit() and pmap_kenter_pde() on
superpage promotion or demotion.
Micro-optimize pmap_kenter_pde().
Modified:
Author: alc
Date: Tue Nov 16 05:06:20 2010
New Revision: 215372
URL: http://svn.freebsd.org/changeset/base/215372
Log:
MFC r214938
Eliminate a possible race between pmap_pinit() and pmap_kenter_pde() on
superpage promotion or demotion.
Micro-optimize pmap_kenter_pde().
Modified:
Author: alc
Date: Tue Nov 16 05:46:35 2010
New Revision: 215373
URL: http://svn.freebsd.org/changeset/base/215373
Log:
MFC r213455
Initialize KPTmap in locore so that vm86.c can call vtophys() (or really
pmap_kextract()) before pmap_bootstrap() is called.
Document the set of pmap
Author: alc
Date: Tue Nov 16 06:20:12 2010
New Revision: 215374
URL: http://svn.freebsd.org/changeset/base/215374
Log:
MFC r213455
Initialize KPTmap in locore so that vm86.c can call vtophys() (or really
pmap_kextract()) before pmap_bootstrap() is called.
Document the set of pmap
Bernhard Schmidt wrote:
Author: bschmidt
Date: Thu Nov 11 18:43:31 2010
New Revision: 215135
URL: http://svn.freebsd.org/changeset/base/215135
Log:
According to specs for MmAllocateContiguousMemorySpecifyCache() physically
contiguous memory with requested restrictions must be allocated.
Author: alc
Date: Wed Nov 10 17:57:34 2010
New Revision: 215093
URL: http://svn.freebsd.org/changeset/base/215093
Log:
Enable reservation-based physical memory allocation. Even without the
creation of large page mappings in the pmap, it can provide modest
performance benefits. In
Author: alc
Date: Sun Nov 7 18:42:37 2010
New Revision: 214938
URL: http://svn.freebsd.org/changeset/base/214938
Log:
Eliminate a possible race between pmap_pinit() and pmap_kenter_pde() on
superpage promotion or demotion.
Micro-optimize pmap_kenter_pde().
Reviewed by: kib, jhb
Author: alc
Date: Sun Nov 7 19:51:51 2010
New Revision: 214942
URL: http://svn.freebsd.org/changeset/base/214942
Log:
MFC r214564
Correct some format strings used by sysctls.
Modified:
stable/8/sys/vm/vm_phys.c
stable/8/sys/vm/vm_reserv.c
Directory Properties:
stable/8/sys/ (props
Author: alc
Date: Sun Nov 7 20:20:19 2010
New Revision: 214943
URL: http://svn.freebsd.org/changeset/base/214943
Log:
MFC r214564
Correct some format strings used by sysctls.
Modified:
stable/7/sys/vm/vm_phys.c
stable/7/sys/vm/vm_reserv.c
Directory Properties:
stable/7/sys/ (props
Author: alc
Date: Sun Nov 7 21:40:34 2010
New Revision: 214953
URL: http://svn.freebsd.org/changeset/base/214953
Log:
In case the stack size reaches its limit and its growth must be restricted,
ensure that grow_amount is a multiple of the page size. Otherwise, the
kernel may crash in
Author: alc
Date: Sun Nov 7 21:48:49 2010
New Revision: 214954
URL: http://svn.freebsd.org/changeset/base/214954
Log:
Don't call pmap_demote_DMAP() on MTRR entries from the BIOS that are marked
as bogus.
Reported by: Jia-Shiun Li
Modified:
head/sys/amd64/amd64/amd64_mem.c
Modified:
Author: alc
Date: Mon Nov 1 02:22:48 2010
New Revision: 214617
URL: http://svn.freebsd.org/changeset/base/214617
Log:
Implement pmap_is_prefaultable().
Reviewed by: nwhitehorn
Modified:
head/sys/powerpc/aim/mmu_oea.c
head/sys/powerpc/aim/mmu_oea64.c
Modified:
Author: alc
Date: Sat Oct 30 16:09:15 2010
New Revision: 214558
URL: http://svn.freebsd.org/changeset/base/214558
Log:
MFC r213408
If vm_map_find() is asked to allocate a superpage-aligned region of
virtual addresses that is greater than a superpage in size but not a
multiple of the
Author: alc
Date: Sat Oct 30 17:21:32 2010
New Revision: 214563
URL: http://svn.freebsd.org/changeset/base/214563
Log:
Don't demote in pmap_demote_DMAP() if the specified length is zero.
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
Author: alc
Date: Sat Oct 30 18:00:53 2010
New Revision: 214564
URL: http://svn.freebsd.org/changeset/base/214564
Log:
Correct some format strings used by sysctls.
MFC after:1 week
Modified:
head/sys/vm/vm_phys.c
head/sys/vm/vm_reserv.c
Modified: head/sys/vm/vm_phys.c
Author: alc
Date: Sat Oct 30 23:49:37 2010
New Revision: 214576
URL: http://svn.freebsd.org/changeset/base/214576
Log:
Add another safety belt to pmap_demote_DMAP().
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
Author: alc
Date: Sat Oct 30 04:53:50 2010
New Revision: 214546
URL: http://svn.freebsd.org/changeset/base/214546
Log:
MFC r213408
If vm_map_find() is asked to allocate a superpage-aligned region of
virtual addresses that is greater than a superpage in size but not a
multiple of the
Author: alc
Date: Fri Oct 15 15:23:34 2010
New Revision: 213897
URL: http://svn.freebsd.org/changeset/base/213897
Log:
Update pmap_extract() to handle 1GB page mappings. Some device drivers
use pmap_extract() rather than pmap_kextract() on direct map addresses.
Thus, pmap_extract() needs
Author: alc
Date: Fri Oct 15 02:58:49 2010
New Revision: 213886
URL: http://svn.freebsd.org/changeset/base/213886
Log:
MFC r212873
Allow a POSIX shared memory object that is opened for read but not for
write to nonetheless be mapped PROT_WRITE and MAP_PRIVATE, i.e.,
copy-on-write.
Author: alc
Date: Fri Oct 15 04:02:07 2010
New Revision: 213888
URL: http://svn.freebsd.org/changeset/base/213888
Log:
MFC r210124
Optimize pmap_remove()'s handling of PG_G mappings.
Modified:
stable/8/sys/amd64/amd64/pmap.c
Directory Properties:
stable/8/sys/ (props changed)
Author: alc
Date: Fri Oct 15 05:42:35 2010
New Revision: 213890
URL: http://svn.freebsd.org/changeset/base/213890
Log:
MFC r209605
Improve bufdone_finish()'s handling of the bogus page. Specifically, if
one or more mappings to the bogus page must be replaced, call pmap_qenter()
Andriy Gapon wrote:
Author: avg
Date: Thu Oct 7 18:11:33 2010
New Revision: 213527
URL: http://svn.freebsd.org/changeset/base/213527
Log:
vm.kmem_map_size: a sysctl to query current kmem_map-size
Based on a patch from Sandvine Incorporated via emaste.
You might, in fact, find
Author: alc
Date: Tue Oct 5 17:06:51 2010
New Revision: 213455
URL: http://svn.freebsd.org/changeset/base/213455
Log:
Initialize KPTmap in locore so that vm86.c can call vtophys() (or really
pmap_kextract()) before pmap_bootstrap() is called.
Document the set of pmap functions that may
Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Thu Sep 30 18:14:12 2010
New Revision: 213307
URL: http://svn.freebsd.org/changeset/base/213307
Log:
Add support for memory attributes (pmap_mapdev_attr() and friends) on
PowerPC/AIM. This is currently stubbed out on Book-E, since I have no
Author: alc
Date: Tue Sep 21 16:24:51 2010
New Revision: 212965
URL: http://svn.freebsd.org/changeset/base/212965
Log:
Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, if
the first line of a script exceeded MAXSHELLCMDLEN characters, then
exec_imgact_shell() silently
Author: alc
Date: Sun Sep 19 17:43:22 2010
New Revision: 212868
URL: http://svn.freebsd.org/changeset/base/212868
Log:
Make refinements to r212824. In particular, don't make
vm_map_unlock_nodefer() part of the synchronization interface for maps.
Add comments to vm_map_unlock_and_wait()
Author: alc
Date: Sun Sep 19 19:42:04 2010
New Revision: 212873
URL: http://svn.freebsd.org/changeset/base/212873
Log:
Allow a POSIX shared memory object that is opened for read but not for
write to nonetheless be mapped PROT_WRITE and MAP_PRIVATE, i.e.,
copy-on-write.
(This is a
Kostik Belousov wrote:
On Mon, Sep 13, 2010 at 12:30:29PM -0500, Alan Cox wrote:
Kostik Belousov wrote:
On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote:
Author: rstone
Date: Tue Sep 7 00:23:45 2010
New Revision: 212281
URL: http://svn.freebsd.org/changeset/base
Kostik Belousov wrote:
On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote:
Author: rstone
Date: Tue Sep 7 00:23:45 2010
New Revision: 212281
URL: http://svn.freebsd.org/changeset/base/212281
Log:
In munmap() downgrade the vm_map_lock to a read lock before taking a read
lock on
Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Thu Sep 9 13:32:58 2010
New Revision: 212360
URL: http://svn.freebsd.org/changeset/base/212360
Log:
On architectures with non-tree-based page tables like PowerPC, every page
in a range must be checked when calling pmap_remove(). Calling
Author: alc
Date: Sat Aug 28 16:57:07 2010
New Revision: 211937
URL: http://svn.freebsd.org/changeset/base/211937
Log:
Add the MAP_PREFAULT_READ option to mmap(2).
Reviewed by: jhb, kib
Modified:
head/lib/libc/sys/mmap.2
head/sys/sys/mman.h
head/sys/sys/param.h
Author: alc
Date: Wed Aug 4 05:09:02 2010
New Revision: 210837
URL: http://svn.freebsd.org/changeset/base/210837
Log:
In order for MAXVNODES_MAX to be an int on powerpc and sparc, we must
cast PAGE_SIZE to an int. (Powerpc and sparc, unlike the other
architectures, define PAGE_SIZE as a
Author: alc
Date: Mon Aug 2 21:33:36 2010
New Revision: 210782
URL: http://svn.freebsd.org/changeset/base/210782
Log:
Update the desiredvnodes calculation. In particular, make the part of
the calculation that is based on the kernel's heap size more conservative.
Hopefully, this will
Author: alc
Date: Tue Jul 27 17:31:03 2010
New Revision: 210545
URL: http://svn.freebsd.org/changeset/base/210545
Log:
Introduce exec_alloc_args(). The objective being to encapsulate the
details of the string buffer allocation in one place.
Eliminate the portion of the string buffer
Author: alc
Date: Wed Jul 28 04:47:40 2010
New Revision: 210555
URL: http://svn.freebsd.org/changeset/base/210555
Log:
The interpreter name should no longer be treated as a buffer that can be
overwritten. (This change should have been included in r210545.)
Submitted by: kib
Modified:
Author: alc
Date: Sun Jul 25 17:43:38 2010
New Revision: 210475
URL: http://svn.freebsd.org/changeset/base/210475
Log:
Change the order in which the file name, arguments, environment, and
shell command are stored in exec*()'s demand-paged string buffer. For
a buildworld on an 8GB amd64
Warner Losh wrote:
Author: imp
Date: Sun Jul 25 04:19:05 2010
New Revision: 210460
URL: http://svn.freebsd.org/changeset/base/210460
Log:
Get N64 building by defining VM_FREELIST_DIRECT to be
VM_FREELIST_DEFAULT. I believe this is correct, since KX is set in
n64, and thus all RAM can be
Kostik Belousov wrote:
On Fri, Jul 23, 2010 at 06:58:27PM +, Alan Cox wrote:
Author: alc
Date: Fri Jul 23 18:58:27 2010
New Revision: 210429
URL: http://svn.freebsd.org/changeset/base/210429
Log:
Eliminate a little bit of duplicated code.
I think that amd64 copy
Author: alc
Date: Thu Jul 15 16:25:51 2010
New Revision: 210124
URL: http://svn.freebsd.org/changeset/base/210124
Log:
Optimize pmap_remove()'s handling of PG_G mappings. Specifically,
instead of calling pmap_invalidate_page() for each PG_G mapping, call
pmap_invalidate_range() for each
Author: alc
Date: Sun Jul 11 20:11:44 2010
New Revision: 209902
URL: http://svn.freebsd.org/changeset/base/209902
Log:
Change the implementation of vm_hold_free_pages() so that it performs at
most one call to pmap_qremove(), and thus one TLB shootdown, instead of one
call and TLB shootdown
Author: alc
Date: Sat Jul 10 18:22:44 2010
New Revision: 209887
URL: http://svn.freebsd.org/changeset/base/209887
Log:
Reduce the number of global TLB shootdowns generated by pmap_qenter().
Specifically, teach pmap_qenter() to recognize the case when it is being
asked to replace a mapping
Author: alc
Date: Fri Jul 9 19:38:30 2010
New Revision: 209861
URL: http://svn.freebsd.org/changeset/base/209861
Log:
Add support for the VM_ALLOC_COUNT() hint to vm_page_alloc(). Consequently,
the maintenance of vm_pageout_deficit can be localized to just two places:
vm_page_alloc() and
Author: alc
Date: Thu Jul 8 03:35:00 2010
New Revision: 209789
URL: http://svn.freebsd.org/changeset/base/209789
Log:
Correctly maintain the per-cpu field curpmap on amd64 just like we
do on i386. The consequences of not doing so on amd64 became apparent
with the introduction of the
Author: alc
Date: Sat Jul 3 18:25:37 2010
New Revision: 209669
URL: http://svn.freebsd.org/changeset/base/209669
Log:
Improve the comment and man page for vm_page_alloc(). Specifically,
document one of the optional flags; clarify which of the flags are
optional (and which are not), and
Author: alc
Date: Fri Jul 2 15:02:51 2010
New Revision: 209647
URL: http://svn.freebsd.org/changeset/base/209647
Log:
With the demise of page coloring, the page queue macros no longer serve any
useful purpose. Eliminate them.
Reviewed by: kib
Modified:
head/sys/vm/vm_contig.c
Author: alc
Date: Fri Jul 2 15:50:30 2010
New Revision: 209648
URL: http://svn.freebsd.org/changeset/base/209648
Log:
Use vm_page_next() instead of vm_page_lookup() in exec_map_first_page()
because vm_page_next() is faster.
Modified:
head/sys/kern/kern_exec.c
Modified:
Author: alc
Date: Fri Jul 2 19:59:18 2010
New Revision: 209650
URL: http://svn.freebsd.org/changeset/base/209650
Log:
Use vm_page_prev() instead of vm_page_lookup() in the implementation of
vm_fault()'s automatic delete-behind heuristic.
vm_page_prev() is typically faster.
Modified:
Author: alc
Date: Fri Jul 2 20:56:22 2010
New Revision: 209651
URL: http://svn.freebsd.org/changeset/base/209651
Log:
Push down the acquisition of the page queues lock into
vm_pageout_page_stats(). In particular, avoid acquiring the page
queues lock unless iterating over the active queue.
Author: alc
Date: Wed Jun 30 17:20:33 2010
New Revision: 209610
URL: http://svn.freebsd.org/changeset/base/209610
Log:
Simplify entry to vm_pageout_clean(). Expect the page to be locked.
Previously, the caller unlocked the page, and vm_pageout_clean()
immediately reacquired the page lock.
Author: alc
Date: Wed Jun 30 04:52:42 2010
New Revision: 209605
URL: http://svn.freebsd.org/changeset/base/209605
Log:
Improve bufdone_finish()'s handling of the bogus page. Specifically, if
one or more mappings to the bogus page must be replaced, call pmap_qenter()
just once. Previously,
Author: alc
Date: Mon Jun 21 23:27:24 2010
New Revision: 209407
URL: http://svn.freebsd.org/changeset/base/209407
Log:
Introduce vm_page_next() and vm_page_prev(), and use them in
vm_pageout_clean(). When iterating over a range of pages, these functions
can be cheaper than vm_page_lookup()
Author: alc
Date: Fri Jun 18 22:12:12 2010
New Revision: 209320
URL: http://svn.freebsd.org/changeset/base/209320
Log:
Eliminate unnecessary page queues locking.
Modified:
head/sys/fs/nwfs/nwfs_io.c
head/sys/fs/smbfs/smbfs_io.c
Modified: head/sys/fs/nwfs/nwfs_io.c
Author: alc
Date: Fri Jun 18 23:14:16 2010
New Revision: 209321
URL: http://svn.freebsd.org/changeset/base/209321
Log:
Catch up with the page and page queues locking changes.
Modified:
head/sys/dev/cxgb/ulp/tom/cxgb_vm.c
Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c
On 6/16/2010 7:43 AM, Pawel Jakub Dawidek wrote:
On Wed, Jun 16, 2010 at 12:41:21AM +, Alan Cox wrote:
Author: alc
Date: Wed Jun 16 00:41:21 2010
New Revision: 209226
URL: http://svn.freebsd.org/changeset/base/209226
Log:
Eliminate unnecessary page queues locking
On 6/16/2010 7:43 AM, Pawel Jakub Dawidek wrote:
On Wed, Jun 16, 2010 at 12:41:21AM +, Alan Cox wrote:
Author: alc
Date: Wed Jun 16 00:41:21 2010
New Revision: 209226
URL: http://svn.freebsd.org/changeset/base/209226
Log:
Eliminate unnecessary page queues locking
Author: alc
Date: Tue Jun 15 18:37:31 2010
New Revision: 209211
URL: http://svn.freebsd.org/changeset/base/209211
Log:
Eliminate unnecessary page queues locking.
Modified:
head/sys/dev/md/md.c
Modified: head/sys/dev/md/md.c
Author: alc
Date: Wed Jun 16 00:41:21 2010
New Revision: 209226
URL: http://svn.freebsd.org/changeset/base/209226
Log:
Eliminate unnecessary page queues locking.
Modified:
head/sys/fs/tmpfs/tmpfs_vnops.c
Modified: head/sys/fs/tmpfs/tmpfs_vnops.c
901 - 1000 of 1285 matches
Mail list logo