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

2010-04-28 Thread matthew green
Modified Files: src/sys/uvm [uebayasi-xip]: uvm_extern.h uvm_object.h uvm_pglist.h Log Message: Don't expose uvm_page.h internal for usual uvm(9) users. why not? thanks.

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

2010-04-28 Thread Masao Uebayashi
On Thu, Apr 29, 2010 at 09:02:21AM +1000, matthew green wrote: Modified Files: src/sys/uvm [uebayasi-xip]: uvm_extern.h uvm_object.h uvm_pglist.h Log Message: Don't expose uvm_page.h internal for usual uvm(9) users. why not? - Actually I meant don't expose

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

2010-02-27 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sun Feb 28 06:52:13 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_fault.c Log Message: Put comments why device pages skip some code paths. Don't skip accounting for neighbor device pages. To generate a diff of

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

2010-02-27 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sun Feb 28 06:52:13 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_fault.c Log Message: Put comments why device pages skip some code paths. Don't skip accounting for neighbor device pages. To generate a diff of

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

2010-02-24 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 24 16:22:58 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_fault.c Log Message: Sync with HEAD. To generate a diff of this commit: cvs rdiff -u -r1.166.2.3 -r1.166.2.4 src/sys/uvm/uvm_fault.c Please note

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

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

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)?

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 struct vm_page *

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 magic

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

2010-02-22 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 07:11:46 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_fault.c Log Message: uvm_fault_lower_promote: One more missing part for device pages to by-pass page cache handling. When a page in a uobj is

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

2010-02-22 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 07:12:08 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_km.c Log Message: Don't forget opt_device_page.h. To generate a diff of this commit: cvs rdiff -u -r1.104.2.1 -r1.104.2.2 src/sys/uvm/uvm_km.c

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

2010-02-22 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 07:44:25 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_extern.h uvm_page.c uvm_page.h Log Message: Introduce uvm_page_physload_device(). This registers a physical address range of a device, similar to

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

2010-02-12 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Feb 12 13:40:00 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.h Log Message: Typo. To generate a diff of this commit: cvs rdiff -u -r1.59.2.11 -r1.59.2.12 src/sys/uvm/uvm_page.h Please note that diffs are

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

2010-02-12 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Feb 12 16:09:56 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_fault.c Log Message: Teach device page handling to the lower fault handler. Skip all the paging activities, no loaning, no wired count. Only compile

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

2010-02-11 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Feb 12 04:33:05 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h Log Message: Enable the newly added VM_PAGE_TO_MD() only #ifdef __HAVE_VM_PAGE_MD. Pointed out by m...@. To generate a diff of

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

2010-02-10 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 10 08:12:02 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_km.c uvm_km.h Log Message: Initial attempt to implement uvm_pageofzero_xip(), which returns a pointer to a single read-only zeroed page. This is

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

2010-02-10 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 10 14:07:23 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.h Log Message: Introduce VM_PAGE_TO_MD(); lookup vm_page_md from a given vm_page. To generate a diff of this commit: cvs rdiff -u -r1.59.2.7

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

2010-02-10 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Wed Feb 10 14:11:32 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.h Log Message: Oops fix a typo. (My lapdog's k/b is dying.) To generate a diff of this commit: cvs rdiff -u -r1.59.2.8 -r1.59.2.9

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

2010-02-10 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Thu Feb 11 06:26:48 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_vnode.c Log Message: uvn_get: For XIP vnodes, skip read-ahead, because it's pointless. To generate a diff of this commit: cvs rdiff -u -r1.93

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

2010-02-09 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 9 08:23:10 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.c Log Message: Merge vm_physseg lookup routines. To generate a diff of this commit: cvs rdiff -u -r1.153.2.4 -r1.153.2.5 src/sys/uvm/uvm_page.c

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

2010-02-09 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 9 09:07:34 UTC 2010 Modified Files: src/sys/uvm [uebayasi-xip]: uvm_page.c uvm_page.h Log Message: Define vm_physdev / vm_nphysdev, physical address segment data for managed device pages. To generate a diff of this

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

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

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