CVS log for src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
Up to [cvs.NetBSD.org] / src / external / cddl / osnet / dist / uts / common / fs / zfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Aug 3 01:53:06 2022 UTC (2 years, 4 months ago) by chs
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -1
lines
change the ARC reclaim code to use the pagedaemon's free page target
rather than having a separate target.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 4 15:49:55 2022 UTC (2 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
fix ARC checks for available memory:
there's an extra check that we inherited from FreeBSD that tries to
detect KVA exhaustion on platforms with limited KVA, but the condition
that decided whether to use the extra check was using a FreeBSDism
that doesn't exist on NetBSD, resulting in this check being used on
all platforms. on amd64 systems with lots of memory, this extra check
would result in the ARC thinking that it constantly needed to reclaim memory,
resulting in all the xcall threads running all the time but not doing
anything useful. change this condition so that this extra check for
KVA exhaustion is only used on 32-bit platforms. fixes PR 55707.
Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 22 10:07:58 2021 UTC (3 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.2: +7 -0
lines
Pull up following revision(s) (requested by hannken in ticket #1250):
external/cddl/osnet/dist/uts/common/fs/zfs/arc.c: revision 1.20
Prevent blocking l2arc_feed_thread() forever, skip the
cv_timedwait() for negative or zero ticks.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Apr 21 10:02:34 2021 UTC (3 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -0
lines
Prevent blocking l2arc_feed_thread() forever, skip the
cv_timedwait() for negative or zero ticks.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:42 2020 UTC (4 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1
lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:04:20 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +9 -2
lines
Merge changes from current as of 20200406
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:09 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Rename uvm_free() -> uvm_availmem().
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:20 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
uvmexp.free -> uvm_free()
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 11 14:46:28 2019 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +4 -0
lines
Pull up following revision(s) (requested by sevan in ticket #540):
external/cddl/osnet/dist/uts/common/fs/zfs/arc.c: revision 1.16
We currently lack a tunable to control ZFS prefetch, so skip the warning and
FreeBSD specific instructions on settings.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 9 00:15:11 2019 UTC (5 years ago) by sevan
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -0
lines
We currently lack a tunable to control ZFS prefetch, so skip the warning and
FreeBSD specific instructions on settings.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 8 15:54:34 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -0
lines
Pull up following revision(s) (requested by jmcneill in ticket #515):
external/cddl/osnet/dist/uts/common/fs/zfs/arc.c: revision 1.15
share/mk/bsd.own.mk: revision 1.1167
external/cddl/osnet/dist/uts/common/os/fm.c: revision 1.2
Provide a default ptob() implementation
Need sys/atomic.h on NetBSD
Enable ZFS support on aarch64
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 1 20:26:05 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -0
lines
Provide a default ptob() implementation
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:52:02 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +0 -18
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun May 26 10:21:00 2019 UTC (5 years, 6 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +0 -9
lines
Add missing part of kmem_cache cleanup. Use Solaris argument order for
kmem_cache destructors, umem_cache_alloc() and umem_cache_free() too.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 23 08:32:30 2019 UTC (5 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +0 -9
lines
Update the kmem_cache emulation to run its callbacks with
Solaris argument order.
No functional change intended.
Revision 1.11.38.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:21 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4744 -1945
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 28 21:05:07 2018 UTC (6 years, 6 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-base,
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
Branch point for: phil-wifi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4743 -1944
lines
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.
in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 28 20:52:56 2018 UTC (6 years, 6 months ago) by chs
Branches: sun,
FreeBSD
CVS tags: CDDL-FreeBSD-r315983
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +4712 -1914
lines
import new CDDL dtrace and ZFS code from FreeBSD svn r315983.
Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:04:08 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +11 -32
lines
sync with head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:38 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
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-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-3-RELEASE,
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,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: pgoyette-compat
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -30
lines
extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)
releng@ acknowledged
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 20 02:54:25 2011 UTC (13 years ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
enough with the compile time warnings.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 6 22:35:37 2010 UTC (14 years, 7 months ago) by haad
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -0
lines
Disable uvm_reclaim_hook for userland builds.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 6 22:31:46 2010 UTC (14 years, 7 months ago) by haad
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1
lines
Fix difference btween solaris cv_timedwait and NetBSD one. NetBSD takes
offset from current time and solaris exact time from unix born.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Apr 3 19:01:15 2010 UTC (14 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -9
lines
don't use NULL for 0
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 27 23:43:53 2010 UTC (14 years, 9 months ago) by haad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +517 -362
lines
Merge NetBSD local changes to new zfs version 22 sources.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Feb 27 22:30:45 2010 UTC (14 years, 9 months ago) by haad
Branches: sun,
FreeBSD
CVS tags: osnet-20100224
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +519 -363
lines
Import new Opensolaris sources for zfs/dtrace.
Opensolaris mercurial changeset: 11751:58c0c8f4305f
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 11 10:58:06 2009 UTC (15 years, 2 months ago) by haad
Branches: MAIN
CVS tags: matt-premerge-20091211,
darran-pre-netbsd,
darran-pre-freebsd,
darran-pre-dtrace
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1
lines
Cast physmem to (uint64_t) so it works on a amd64 system with more than 4Gb ram.
undef btop if it was already included from other NetBSD header file.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 12 21:52:41 2009 UTC (15 years, 3 months ago) by haad
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +29 -3
lines
Register callbacks for reclaiming kvm kernel space to arc. Unregister both
kvm address space and memory callbacks from kernel during arc_fini call.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Aug 10 22:38:02 2009 UTC (15 years, 4 months ago) by haad
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +36 -2
lines
Add some NetBSD fixes which I have forgot to commit during first round.
With these patches I can build solaris and zfs module again.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 7 20:16:45 2009 UTC (15 years, 4 months ago) by haad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +31 -8
lines
Add NetBSD specific changes to OpenSolaris code. These changes were made
by Andrew Doran and me. Thank you Andrew for your great help.
Oked by core@ and ad@.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Aug 7 18:32:51 2009 UTC (15 years, 4 months ago) by haad
Branches: sun,
FreeBSD
CVS tags: osnet-20081117
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import Opensolaris source code used with zfs port. Zfs code si from date
200811.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 18:32:51 2009 UTC (15 years, 4 months ago) by haad
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>