cvs commit: src/sys/vm vm_fault.c

2008-03-16 Thread Alan Cox
alc 2008-03-16 17:37:20 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Simplify the inner loop of vm_fault()'s delete-behind heuristic. Instead of checking each page for PG_UNMANAGED, perform a one-time check whether the object is OBJT_PHY

cvs commit: src/sys/vm vm_fault.c

2008-03-08 Thread Alan Cox
alc 2008-03-09 06:08:58 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Eliminate an unnecessary test from vm_fault's delete-behind heuristic. Specifically, since the delete-behind heuristic is never applied to a device-backed object, there

cvs commit: src/sys/vm vm_fault.c

2007-10-08 Thread Konstantin Belousov
kib 2007-10-08 20:09:53 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Do not dereference NULL pointer. Reported by:Peter Holm Reviewed by:alc Approved by:re (kensmith) Revision ChangesPath 1.237 +2 -3

cvs commit: src/sys/vm vm_fault.c

2007-08-25 Thread Alan Cox
alc 2007-08-25 18:43:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_fault.c Log: MFC revision 1.234 Eliminate the special case handling of OBJT_DEVICE objects in vm_fault_additional_pages() that was introduced in revisi

cvs commit: src/sys/vm vm_fault.c

2007-08-24 Thread Alan Cox
alc 2007-08-25 05:47:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_fault.c Log: MFC revision 1.233 When a cached page is reactivated in vm_fault(), update the counter that tracks the total number of reactivated pages.

cvs commit: src/sys/vm vm_fault.c

2007-07-19 Thread Alan Cox
alc 2007-07-20 06:55:12 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Two changes to vm_fault_additional_pages(): 1. Rewrite the backward scan. Specifically, reverse the order in which pages are allocated so that upon failure it is

cvs commit: src/sys/vm vm_fault.c

2007-07-08 Thread Alan Cox
alc 2007-07-08 19:42:52 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Eliminate the special case handling of OBJT_DEVICE objects in vm_fault_additional_pages() that was introduced in revision 1.47. Then as now, it is unnecessary because

cvs commit: src/sys/vm vm_fault.c

2007-07-06 Thread Alan Cox
alc 2007-07-06 21:25:21 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: When a cached page is reactivated in vm_fault(), update the counter that tracks the total number of reactivated pages. (We have not been counting reactivations by vm_f

cvs commit: src/sys/vm vm_fault.c

2007-06-16 Thread Matt Jacob
mjacob 2007-06-17 04:14:27 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Initialize reqpage to zero. Revision ChangesPath 1.232 +1 -1 src/sys/vm/vm_fault.c ___ cvs-all@freebsd.org

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

2007-05-21 Thread Alan Cox
alc 2007-05-22 04:46:00 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c vm_map.c Log: Eliminate the reactivation of cached pages in vm_fault_prefault() and vm_map_pmap_enter() unless the caller is madvise(MADV_WILLNEED). With the exception of c

cvs commit: src/sys/vm vm_fault.c

2007-04-05 Thread Pawel Jakub Dawidek
pjd 2007-04-05 20:49:46 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Fix a problem for file systems that don't implement VOP_BMAP() operation. The problem is this: vm_fault_additional_pages() calls vm_pager_has_page(), which calls vno

cvs commit: src/sys/vm vm_fault.c

2007-03-22 Thread Alan Cox
alc 2007-03-23 06:11:26 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: vm_page_busy() no longer requires the page queues lock to be held. Reduce the scope of the page queues lock in vm_fault() accordingly. Revision ChangesPath 1

cvs commit: src/sys/vm vm_fault.c

2007-03-05 Thread Alan Cox
alc 2007-03-05 18:55:14 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Use PCPU_LAZY_INC() to update page fault statistics. Revision ChangesPath 1.224 +6 -6 src/sys/vm/vm_fault.c ___

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/vm vm_fault.c vm_object.c vm_page.c vm_page.h

2006-08-12 Thread Alan Cox
alc 2006-08-13 00:11:09 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c vm_object.c vm_page.c vm_page.h Log: Reimplement the page's NOSYNC flag as an object-synchronized instead of a page queues-synchronized flag. Reduce

cvs commit: src/sys/vm vm_fault.c

2006-08-05 Thread Alan Cox
alc 2006-08-06 00:17:18 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Eliminate the acquisition and release of the page queues lock around a call to vm_page_sleep_if_busy(). Revision ChangesPath 1.218 +2 -4 src/sys/vm/v

cvs commit: src/sys/vm vm_fault.c

2006-06-12 Thread Maxim Konovalov
maxim 2006-06-12 15:06:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_fault.c Log: MFC rev. 1.213: fix a comment. Revision ChangesPath 1.205.2.5 +1 -1 src/sys/vm/vm_fault.c _

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/vm vm_fault.c

2006-03-08 Thread Tor Egge
tegge 2006-03-08 23:53:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/vm vm_fault.c Log: MFC: Don't access fs->first_object after dropping reference to it. The result could be a missed or extra giant unlock. Approved by:

cvs commit: src/sys/vm vm_fault.c

2006-02-02 Thread Tor Egge
tegge 2006-02-02 21:55:38 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Adjust old comment (present in rev 1.1) to match changes in rev 1.82. PR: kern/92509 Submitted by: "Bryan Venteicher" <[EMAIL PROTECTED]> Revision Change

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_fault.c

2005-12-20 Thread Tor Egge
tegge 2005-12-20 12:27:59 UTC FreeBSD src repository Modified files: sys/vm vm_fault.c Log: Don't access fs->first_object after dropping reference to it. The result could be a missed or extra giant unlock. Reviewed by:alc Revision ChangesPath