The NetBSD Project

CVS log for src/sys/uvm/uvm_readahead.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / uvm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 23 18:21:12 2023 UTC (5 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.15: +5 -9 lines
Diff to previous 1.15 (colored)

Repply this change with a couple of bugs fixed:

- Do away with separate pool_cache for some kernel objects that have no special
  requirements and use the general purpose allocator instead. On one of my
  test systems this makes for a small (~1%) but repeatable reduction in system
  time during builds presumably because it decreases the kernel's cache /
  memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 12 16:17:22 2023 UTC (5 months, 2 weeks ago) by ad
Branch: MAIN
Changes since 1.14: +9 -5 lines
Diff to previous 1.14 (colored)

Back out recent change to replace pool_cache with then general allocator.
Will return to this when I have time again.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 10 14:45:53 2023 UTC (5 months, 3 weeks ago) by ad
Branch: MAIN
Changes since 1.13: +5 -9 lines
Diff to previous 1.13 (colored)

- Do away with separate pool_cache for some kernel objects that have no special
  requirements and use the general purpose allocator instead.  On one of my
  test systems this makes for a small (~1%) but repeatable reduction in system
  time during builds presumably because it decreases the kernel's cache /
  memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 19 21:45:35 2020 UTC (3 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

Drop & re-acquire vmobjlock less often.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 8 18:40:29 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Only need a read lock for uvm_pagelookup().

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:12 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 23 15:46:43 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored)

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart.  v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap.  Others to follow later.

Revision 1.8.52.2 / (download) - annotate - [select for diffs], Mon May 21 04:36:17 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8.52.1: +20 -3 lines
Diff to previous 1.8.52.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 19 15:18:02 2018 UTC (5 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.9: +20 -3 lines
Diff to previous 1.9 (colored)

adjust heuristics for read-ahead to skip the full read-ahead when last page of
the range is already cached; this speeds up I/O from cache, since it avoids
the lookup and allocation overhead

on my system I observed 4.5% - 15% improvement for cached I/O - from 2.2 GB/s to
2.3 GB/s for cached reads using non-direct UBC, and from 5.6 GB/s to 6.5 GB/s
for UBC using direct map

part of PR kern/53124

Revision 1.8.52.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:20 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 30 07:22:59 2018 UTC (5 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Increase UVM read ahead window limit a bit to match concurrency of reading
from the raw device.

Revision 1.8.12.3 / (download) - annotate - [select for diffs], Tue Oct 9 21:37:47 2012 UTC (11 years, 4 months ago) by bouyer
Branch: tls-maxphys
Changes since 1.8.12.2: +15 -5 lines
Diff to previous 1.8.12.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Redo previous: it seems that the point of the bytelen computation was to
get transfers aligned to chunksz. So reintroduce the code, but using chunksz
instead of chunksize (if the readahead is trucated there's no point in
trying to align it anyway).
Now I get 64k read requests at the drive level again.

Revision 1.8.12.2 / (download) - annotate - [select for diffs], Tue Oct 9 20:07:28 2012 UTC (11 years, 4 months ago) by bouyer
Branch: tls-maxphys
Changes since 1.8.12.1: +13 -17 lines
Diff to previous 1.8.12.1 (colored) to branchpoint 1.8 (colored)

Fix panic "bad chunksize ..." in read-ahead code:
- off comes from the pager, so should already be page-aligned.
  KASSERT() that it is, and remove the off = trunc_page(off)
- as off is not changed any more, the size of the transfer is chunksize.
  Don't compute bytelen any more,  which is what required chunksize
  to be a power of 2. KASSERT() that chunksize is a multiple of page size.

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Wed Sep 12 06:15:36 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.8: +36 -40 lines
Diff to previous 1.8 (colored)

Initial snapshot of work to eliminate 64K MAXPHYS.  Basically works for
physio (I/O to raw devices); needs more doing to get it going with the
filesystems, but it shouldn't damage data.

All work's been done on amd64 so far.  Not hard to add support to other
ports.  If others want to pitch in, one very helpful thing would be to
sort out when and how IDE disks can do 128K or larger transfers, and
adjust the various PCI IDE (or at least ahcisata) drivers and wd.c
accordingly -- it would make testing much easier.  Another very helpful
thing would be to implement a smart minphys() for RAIDframe along the
lines detailed in the MAXPHYS-NOTES file.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:37 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:04 2011 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-compat
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:38 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6.4.1: +4 -4 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:57 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD (-D20101022).

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 15 15:55:53 2010 UTC (13 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:18 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.5.24.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:33:04 2009 UTC (14 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.5: +24 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:38 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.5: +24 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 10 01:54:08 2009 UTC (14 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.5: +24 -5 lines
Diff to previous 1.5 (colored)

- add a function to perform explicit read-ahead.
- ra_startio: tweak locking a bit.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:33 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.4: +21 -18 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.2.20.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:25 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.20.3: +21 -18 lines
Diff to previous 1.2.20.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:44 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.4: +21 -18 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with HEAD

Revision 1.4.20.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:45 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.4: +21 -18 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:20 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, jym-xensuspend
Changes since 1.4: +21 -18 lines
Diff to previous 1.4 (colored)

Merge vmlocking2 to head.

Revision 1.4.16.2 / (download) - annotate - [select for diffs], Tue Dec 18 15:24:29 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.4.16.1: +21 -18 lines
Diff to previous 1.4.16.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Lock readahead context using the associated object's lock.

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:04:05 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.2.20.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:47:12 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.20.2: +9 -3 lines
Diff to previous 1.2.20.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:57 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.2.34.3 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:22 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.2.34.2: +8 -2 lines
Diff to previous 1.2.34.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.30.2 / (download) - annotate - [select for diffs], Thu May 17 13:42:02 2007 UTC (16 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.2.30.1: +8 -2 lines
Diff to previous 1.2.30.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.28.1 / (download) - annotate - [select for diffs], Sun May 13 07:56:15 2007 UTC (16 years, 9 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #641):
	sys/uvm/uvm_readahead.c: revision 1.4
Add temporary workaround for PR kern/36019 (panic on sun2 and sun3).
Ok'ed by yamt.

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 11 12:11:09 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored)

Add temporary workaround for PR kern/36019 (panic on sun2 and sun3).
Ok'ed by yamt.

Revision 1.2.30.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:19 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

sync with head.

Revision 1.2.34.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:58 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.2.34.1: +3 -3 lines
Diff to previous 1.2.34.1 (colored) to branchpoint 1.2 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.2.34.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:52:09 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Sync with head.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:39 2007 UTC (16 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.2.20.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:40 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.20.1: +322 -0 lines
Diff to previous 1.2.20.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:42 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.2.2.1: +322 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.20.1, Tue Nov 29 23:37:59 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -322 lines
FILE REMOVED

file uvm_readahead.c was added on branch yamt-lazymbuf on 2006-06-21 15:12:40 +0000

Revision 1.2.2.1, Tue Nov 29 23:37:59 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.2: +0 -322 lines
FILE REMOVED

file uvm_readahead.c was added on branch ktrace-lwp on 2005-12-11 10:29:42 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 29 23:37:59 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, netbsd-4, ktrace-lwp
Changes since 1.1: +322 -0 lines
Diff to previous 1.1 (colored)

add files i forgot to add when merging yamt-readahead branch.

Revision 1.1.2.16 / (download) - annotate - [select for diffs], Tue Nov 22 14:55:50 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.15: +14 -4 lines
Diff to previous 1.1.2.15 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

comments.

Revision 1.1.2.15 / (download) - annotate - [select for diffs], Tue Nov 22 07:25:41 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.14: +3 -3 lines
Diff to previous 1.1.2.14 (colored) to branchpoint 1.1 (colored)

make ractx_pool static.

Revision 1.1.2.14 / (download) - annotate - [select for diffs], Tue Nov 22 07:19:51 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.13: +15 -8 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored)

comments.

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Sun Nov 20 05:00:38 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.12: +3 -3 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)

uvm_ra_request: fix an off-by-one error.

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Sun Nov 20 04:59:36 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.11: +13 -2 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

uvm_ra_request: don't shrink window when reading the same chunk repeatedly.

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Sat Nov 19 17:37:00 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.10: +10 -5 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

- as read-ahead context is per-vnode now,
  there are less reasons to make VOP_READ call uvm_ra_request explicitly.
  move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.

XXX can be disturbed by PGO_LOCKED.

XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Sat Nov 19 05:46:21 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.9: +3 -3 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

ra_startio: don't bother to read busy chunk again and again.

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:55 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.1.2.8: +31 -32 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Thu Nov 17 08:05:01 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.1.2.7: +3 -3 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

correct a comment.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Thu Nov 17 06:42:31 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.6: +9 -10 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)

use UVM_ADV_ rather than POSIX_FADV_.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Thu Nov 17 04:28:10 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.5: +13 -13 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

use DPRINTF rather than explicit #ifdef.  suggested by Chuck Silvers.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Thu Nov 17 03:51:39 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.4: +84 -20 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

comments.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Nov 15 11:32:01 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.3: +3 -3 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

fix a reversed condition in the previous.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Nov 15 11:28:39 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.2: +9 -15 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

- #ifdef out debug printf.
- an assertion.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Nov 15 05:24:48 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1.2.1: +34 -3 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

add posix_fadvise.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 01:57:25 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.1: +202 -0 lines
Diff to previous 1.1 (colored)

add simple readahead routines.

Revision 1.1, Tue Nov 15 01:57:25 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2
Branch point for: yamt-readahead
FILE REMOVED

file uvm_readahead.c was initially added on branch yamt-readahead.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>