Source-Changes archive

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

CVS commit: src/sys/uvm



Module Name:    src
Committed By:   ad
Date:           Sat Dec 21 14:41:44 UTC 2019

Modified Files:
        src/sys/uvm: uvm_page.c uvm_page.h uvm_pager.c uvm_pglist.c
            uvm_physseg.c uvm_vnode.c

Log Message:
- Rename VM_PGCOLOR_BUCKET() to VM_PGCOLOR().  I want to reuse "bucket" for
  something else soon and TBH it matches what this macro does better.

- Add inlines to set/get locator values in the unused lower bits of
  pg->phys_addr.  Begin by using it to cache the freelist index, because
  computing it is expensive and that shows up during profiling.  Discussed
  on tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.87 -r1.88 src/sys/uvm/uvm_page.h
cvs rdiff -u -r1.116 -r1.117 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.75 -r1.76 src/sys/uvm/uvm_pglist.c
cvs rdiff -u -r1.12 -r1.13 src/sys/uvm/uvm_physseg.c
cvs rdiff -u -r1.103 -r1.104 src/sys/uvm/uvm_vnode.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