Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

Module Name:    src
Committed By:   uebayasi
Date:           Sun Sep 26 07:06:57 UTC 2010

Modified Files:
        src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c

Log Message:
Implement XIP "putpages".  Invalidate MMU mappings of pages at the
request of PGO_FREE.  PGO_DEACTIVATE and PGO_CLEANIT do nothing, because
XIP pages are neither queued nor writable.

Allocate read-only "zero" page per vnode.  Put it at offset 0 of vnode's
uvm_object.  This per-vnode "zero" page is mapped to all hole pages of
the vnode.  If one of its mapped pages are forced to be PGO_FREE'ed,
all the mappings are invalidated.

To generate a diff of this commit:
cvs rdiff -u -r1.36.2.23 -r1.36.2.24 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.

Home | Main Index | Thread Index | Old Index