Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (7m)  netbsd-10 (31d)  netbsd-9 (31d)  netbsd-8 (36d) 

2024-06-16 19:29:27 UTC Now

2017-11-02 21:29:53 UTC netbsd-8 commitmail json YAML

src/share/man/man9/kernhist.9@1.4.8.1 / diff / nxr@1.4.8.1
src/sys/arch/acorn26/acorn26/pmap.c@1.38.8.1 / diff / nxr@1.38.8.1
src/sys/arch/arm/arm32/fault.c@1.103.10.1 / diff / nxr@1.103.10.1
src/sys/arch/arm/arm32/pmap.c@1.349.2.1 / diff / nxr@1.349.2.1
src/sys/arch/arm/broadcom/bcm2835_bsc.c@1.5.10.2 / diff / nxr@1.5.10.2
src/sys/arch/arm/omap/if_cpsw.c@1.19.2.1 / diff / nxr@1.19.2.1
src/sys/arch/arm/omap/tiotg.c@1.6.8.1 / diff / nxr@1.6.8.1
src/sys/arch/evbarm/conf/RPI2_INSTALL@1.2.8.1 / diff / nxr@1.2.8.1
src/sys/dev/ic/sl811hs.c@1.97.8.1 / diff / nxr@1.97.8.1
src/sys/dev/usb/ehci.c@1.254.8.2 / diff / nxr@1.254.8.2
src/sys/dev/usb/if_axe.c@1.82.6.1 / diff / nxr@1.82.6.1
src/sys/dev/usb/motg.c@1.17.10.1 / diff / nxr@1.17.10.1
src/sys/dev/usb/ohci.c@1.273.6.1 / diff / nxr@1.273.6.1
src/sys/dev/usb/ucom.c@1.118.8.1 / diff / nxr@1.118.8.1
src/sys/dev/usb/uhci.c@1.275.2.2 / diff / nxr@1.275.2.2
src/sys/dev/usb/uhub.c@1.136.2.1 / diff / nxr@1.136.2.1
src/sys/dev/usb/umass.c@1.158.4.1 / diff / nxr@1.158.4.1
src/sys/dev/usb/umass_quirks.c@1.99.10.1 / diff / nxr@1.99.10.1
src/sys/dev/usb/umass_scsipi.c@1.54.8.1 / diff / nxr@1.54.8.1
src/sys/dev/usb/usb.c@1.165.6.2 / diff / nxr@1.165.6.2
src/sys/dev/usb/usb_mem.c@1.69.2.1 / diff / nxr@1.69.2.1
src/sys/dev/usb/usb_subr.c@1.220.2.1 / diff / nxr@1.220.2.1
src/sys/dev/usb/usbdi.c@1.173.2.1 / diff / nxr@1.173.2.1
src/sys/dev/usb/usbdi_util.c@1.66.2.1 / diff / nxr@1.66.2.1
src/sys/dev/usb/usbroothub.c@1.2.14.1 / diff / nxr@1.2.14.1
src/sys/dev/usb/xhci.c@1.72.2.2 / diff / nxr@1.72.2.2
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.33.10.1 / diff / nxr@1.33.10.1
src/sys/kern/kern_history.c@1.14.8.1 / diff / nxr@1.14.8.1
src/sys/kern/kern_xxx.c@1.73.10.1 / diff / nxr@1.73.10.1
src/sys/kern/vfs_bio.c@1.273.2.1 / diff / nxr@1.273.2.1
src/sys/miscfs/genfs/genfs_io.c@1.68.6.3 / diff / nxr@1.68.6.3
src/sys/sys/kernhist.h@1.18.8.2 / diff / nxr@1.18.8.2
src/sys/ufs/ffs/ffs_balloc.c@1.62.8.1 / diff / nxr@1.62.8.1
src/sys/ufs/lfs/lfs_vfsops.c@1.359.4.2 / diff / nxr@1.359.4.2
src/sys/ufs/lfs/ulfs_inode.c@1.19.2.2 / diff / nxr@1.19.2.2
src/sys/ufs/lfs/ulfs_vnops.c@1.48.4.2 / diff / nxr@1.48.4.2
src/sys/ufs/ufs/ufs_inode.c@1.101.2.1 / diff / nxr@1.101.2.1
src/sys/ufs/ufs/ufs_vnops.c@1.237.4.1 / diff / nxr@1.237.4.1
src/sys/uvm/pmap/pmap.c@1.34.2.1 / diff / nxr@1.34.2.1
src/sys/uvm/pmap/pmap_tlb.c@1.21.2.1 / diff / nxr@1.21.2.1
src/sys/uvm/uvm_amap.c@1.107.32.1 / diff / nxr@1.107.32.1
src/sys/uvm/uvm_anon.c@1.63.22.1 / diff / nxr@1.63.22.1
src/sys/uvm/uvm_aobj.c@1.125.2.1 / diff / nxr@1.125.2.1
src/sys/uvm/uvm_bio.c@1.90.2.1 / diff / nxr@1.90.2.1
src/sys/uvm/uvm_device.c@1.65.8.1 / diff / nxr@1.65.8.1
src/sys/uvm/uvm_fault.c@1.199.6.2 / diff / nxr@1.199.6.2
src/sys/uvm/uvm_km.c@1.143.2.1 / diff / nxr@1.143.2.1
src/sys/uvm/uvm_loan.c@1.84.6.1 / diff / nxr@1.84.6.1
src/sys/uvm/uvm_map.c@1.351.2.2 / diff / nxr@1.351.2.2
src/sys/uvm/uvm_page.c@1.193.2.1 / diff / nxr@1.193.2.1
src/sys/uvm/uvm_pager.c@1.110.22.1 / diff / nxr@1.110.22.1
src/sys/uvm/uvm_pdaemon.c@1.108.22.1 / diff / nxr@1.108.22.1
src/sys/uvm/uvm_swap.c@1.174.10.1 / diff / nxr@1.174.10.1
src/sys/uvm/uvm_vnode.c@1.102.10.1 / diff / nxr@1.102.10.1
src/usr.bin/vmstat/vmstat.c@1.216.6.2 / diff / nxr@1.216.6.2

Pull up following revision(s) (requested by pgoyette in ticket #335):
share/man/man9/kernhist.9: 1.5-1.8
sys/arch/acorn26/acorn26/pmap.c: 1.39
sys/arch/arm/arm32/fault.c: 1.105 via patch
sys/arch/arm/arm32/pmap.c: 1.350, 1.359
sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
sys/arch/arm/omap/if_cpsw.c: 1.20
sys/arch/arm/omap/tiotg.c: 1.7
sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
sys/dev/ic/sl811hs.c: 1.98
sys/dev/usb/ehci.c: 1.256
sys/dev/usb/if_axe.c: 1.83
sys/dev/usb/motg.c: 1.18
sys/dev/usb/ohci.c: 1.274
sys/dev/usb/ucom.c: 1.119
sys/dev/usb/uhci.c: 1.277
sys/dev/usb/uhub.c: 1.137
sys/dev/usb/umass.c: 1.160-1.162
sys/dev/usb/umass_quirks.c: 1.100
sys/dev/usb/umass_scsipi.c: 1.55
sys/dev/usb/usb.c: 1.168
sys/dev/usb/usb_mem.c: 1.70
sys/dev/usb/usb_subr.c: 1.221
sys/dev/usb/usbdi.c: 1.175
sys/dev/usb/usbdi_util.c: 1.67-1.70
sys/dev/usb/usbroothub.c: 1.3
sys/dev/usb/xhci.c: 1.75
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
sys/kern/kern_history.c: 1.15
sys/kern/kern_xxx.c: 1.74
sys/kern/vfs_bio.c: 1.275-1.276
sys/miscfs/genfs/genfs_io.c: 1.71
sys/sys/kernhist.h: 1.21
sys/ufs/ffs/ffs_balloc.c: 1.63
sys/ufs/lfs/lfs_vfsops.c: 1.361
sys/ufs/lfs/ulfs_inode.c: 1.21
sys/ufs/lfs/ulfs_vnops.c: 1.52
sys/ufs/ufs/ufs_inode.c: 1.102
sys/ufs/ufs/ufs_vnops.c: 1.239
sys/uvm/pmap/pmap.c: 1.37-1.39
sys/uvm/pmap/pmap_tlb.c: 1.22
sys/uvm/uvm_amap.c: 1.108
sys/uvm/uvm_anon.c: 1.64
sys/uvm/uvm_aobj.c: 1.126
sys/uvm/uvm_bio.c: 1.91
sys/uvm/uvm_device.c: 1.66
sys/uvm/uvm_fault.c: 1.201
sys/uvm/uvm_km.c: 1.144
sys/uvm/uvm_loan.c: 1.85
sys/uvm/uvm_map.c: 1.353
sys/uvm/uvm_page.c: 1.194
sys/uvm/uvm_pager.c: 1.111
sys/uvm/uvm_pdaemon.c: 1.109
sys/uvm/uvm_swap.c: 1.175
sys/uvm/uvm_vnode.c: 1.103
usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
  the kernel and in the structures used for exporting the history data
  to userland via sysctl(9).  This avoids problems on some architectures
  where passing a 64-bit (or larger) value to printf(3) can cause it to
  process the value as multiple arguments.  (This can be particularly
  problematic when printf()'s format string is not a literal, since in
  that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
  include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
  updated.  Each format specifier now includes an explicit length
  modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
  updated to replace uses of "%p" with "%#jx", and the pointer
  arguments are now cast to (uintptr_t) before being subsequently cast
  to (uintmax_t).  This is needed to avoid compiler warnings about
  casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
  "%c" format strings replaced with numeric formats; several instances
  of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
  history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
  the -u option does not exist (previously, this condition was silently
  ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
  data exported via sysctl(9) and exits if they do not match the values
  with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
  requirements imposed on the format strings, along with several other
  minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
    uint64_t) for the history arguments.  But that would require another
    "rototill" of all the users in the future when we add support for an
    architecture that supports a larger size.  Also, the printf(3)
format
    specifiers for explicitly-sized values, such as "%"PRIu64, are much
    more verbose (and less aesthetically appealing, IMHO) than simply
    using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
    but it is possible that I've missed some of them.  I would be glad
to
    update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes.  Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one.  :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.

(snj)