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 > to address filesystem blocks and tell those addresses back to the fault > handler by encoding the physical addresses in struct vm_page * pointers. > > (I hate code duplication. What can I do?)
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? is it allowed to return both of "device pages" and normal pages mixed for a request? YAMAMOTO Takashi > > > To generate a diff of this commit: > cvs rdiff -u -r1.36 -r1.36.2.1 src/sys/miscfs/genfs/genfs_io.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.