The NetBSD Project

CVS log for src/sys/kern/subr_vmem.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.118: download - view: text, markup, annotated - select for diffs
Fri Dec 6 19:17:59 2024 UTC (3 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +18 -15 lines
vmem(9): Sprinkle SET_ERROR dtrace probes.

PR kern/58378: Kernel error code origination lacks dtrace probes

Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Dec 6 19:17:44 2024 UTC (3 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +38 -28 lines
vmem(9): Sort includes, remove sharp edges from macros.

No functional change intended.  (And if changing /* nothing */ to
__nothing changed anything, it was already broken!)

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Apr 24 02:08:03 2024 UTC (10 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +10 -2 lines
vmem_init(): Ensure that the quantum is a power of 2, and that if private
tags are being used, they are added to the arena before the first span is
added.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Dec 3 19:34:08 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +25 -3 lines
Add the notion of "private boundary tags" to vmem.  This allows vmem to
be used VERY early in boot; such consumers statically allocate the vmem
arena and boundary tags, and then explicitly add those static, private
boundary tags to the arena tag free list using the new function vmem_add_bts().

Vmem arenas that use private boundary tags will NOT consume the statically
allocated bootstrap tags used by the vmem system itself; the assumption is
that the consumer of such an arena knows what they're doing, and is responsible
for all necessary resource management.  A macro, VMEM_EST_BTCOUNT(), is
provided to help such consumers size the static boundary tag store based
on the expected number of spans and early allocations.  Once the private
tags are exhausted, the arena will dynamically allocate tags as usual.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Dec 3 15:06:45 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -2 lines
Split the boundary tag "type" field into "type" and "flags" fields.
Initialize the flags field to 0 before inserting into an arena's free
tag list.

NFC, but makes diff for a future enhancement smaller.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Dec 3 14:35:54 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +10 -8 lines
bt_freetrim(): Restructure the loop as a LIST_FOREACH_SAFE() rather
than a while().  No real change in behavior now, but makes upcoming
enhancements easier.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Dec 3 02:50:09 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +5 -2 lines
Assert that the vmem_btag_pool has been initialized before we attempt
to allocate from it.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Dec 2 21:02:12 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +22 -2 lines
Add a vmem_xalloc_addr() function, which allocates a specific address
from an arena.  This is just a convenience wrapper around vmem_xalloc(),
that's just a bit more obvious how to use and performs some additional
sanity checks.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Dec 2 19:06:17 2023 UTC (15 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +28 -20 lines
Minor changes to let this build as the "subr_vmem" test program again.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Apr 9 09:18:09 2023 UTC (23 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +8 -5 lines
kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue May 31 08:43:16 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-1-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3 -3 lines
fix various typos in comments, documentation and messages.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Feb 27 14:24:11 2022 UTC (3 years ago) by riastradh
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +18 -3 lines
vmem(9): Assert addresses are quantum-aligned.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Aug 17 22:00:32 2021 UTC (3 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -3 lines
fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Jun 20 18:33:23 2020 UTC (4 years, 9 months ago) by riastradh
Branches: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4 lines
Nix trailing whitespace.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jun 16 01:29:00 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +40 -3 lines
Add vmem_xfreeall(), which frees all allocated regions in the specified arena.
All outstanding allocations MUST have been performed with vmem_xalloc() or
else the behavior is undefined.  (This also implies that the arena must also
not have a quantum cache; note this in the documentation.)

Revision 1.100.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:24:06 2020 UTC (4 years, 10 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.100.6.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.6.1: +3 -3 lines
Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.97.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:42 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.97.4.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.4.2: +92 -72 lines
Sync with HEAD

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Apr 21 17:50:19 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
vmem_list_lock needs to be an adaptive lock.  Fixes LOCKDEBUG panic.

Revision 1.100.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:10 2020 UTC (4 years, 11 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +94 -74 lines
Sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Apr 19 21:55:37 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, bouyer-xenpvh-base1
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
comment

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Apr 19 21:11:42 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +93 -73 lines
- Fix uneven performance with "bursty" vmem arenas.  Adjust locking so that
  the mutex is acquired and released only once in the happy path.  Align
  tags to cachelines.  Size the hash table according to the maximum count of
  boundary tags over the interval just gone, not the instantaneous count,
  and decay that maximum value by 50%+1 after each rehash.  Round up to the
  next power of two to eliminate divisions.  Do the rehash check unlocked.

- Hash bucket size is sizeof(vmem_hashlist), not size of a pointer to same.

Revision 1.97.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:04 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.97.4.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.4.1: +3 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.97.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:52 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -4 lines
Merge changes from current as of 20200406

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sat Dec 21 14:50:34 2019 UTC (5 years, 3 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -4 lines
Detangle the pagedaemon from uvm_fpageqlock:

- Have a single lock (uvmpd_lock) to protect pagedaemon state that was
  previously covered by uvmpd_pool_drain_lock plus uvm_fpageqlock.
- Don't require any locks be held when calling uvm_kick_pdaemon().
- Use uvm_free().

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Oct 16 18:29:49 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -4 lines
Add and use __FPTRCAST, requested by uwe@

Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Oct 16 15:27:38 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -5 lines
Add void * function pointer casts. There are different ways to "fix" those
warnings:
    1. this one: add a void * cast (which I think is the least intrusive)
    2. add pragmas to elide the warning
    3. add intermediate inline conversion functions
    4. change the called function prototypes, adding unused arguments and
       converting some of the pointer arguments to void *.
    5. make the functions varyadic (which defeats the purpose of checking)
    6. pass command line flags to elide the warning
I did try 3 and 4 and I was not pleased with the result (sys_ptrace_common.c)
(3) added too much code and defines, and (4) made the regular use clumsy.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Feb 8 09:05:20 2018 UTC (7 years, 1 month ago) by dholland
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-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, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, 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
Branch point for: phil-wifi
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
Typos.

Revision 1.75.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.75.2.4: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.4: +43 -23 lines
update from HEAD

Revision 1.92.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 10:25:02 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +35 -20 lines
Pull up following revision(s) (requested by mlelstv in ticket #1521):
	share/man/man9/kmem.9: revision 1.20 via patch
	share/man/man9/vmem.9: revision 1.16
	sys/kern/subr_kmem.c: revision 1.62
	sys/kern/subr_vmem.c: revision 1.94
fix vmem_alloc() to never return an error for VM_SLEEP requests,
thus fixing kmem_alloc() to never return NULL for KM_SLEEP requests.
instead these operations will retry forever, which was the intent.

Revision 1.92.6.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:07 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.92.6.3: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.6.3: +9 -4 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed May 31 23:53:30 2017 UTC (7 years, 9 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +9 -4 lines
assert that vmem_alloc() with VM_SLEEP does not fail.

Revision 1.92.6.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:20 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.92.6.2: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.6.2: +3 -4 lines
Sync with HEAD

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:43 2016 UTC (8 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -3 lines
KNF. Remove extra spaces. No functional change.

Revision 1.92.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:31 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.92.6.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.6.1: +36 -20 lines
Sync with HEAD

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Feb 29 00:34:17 2016 UTC (9 years ago) by chs
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +35 -20 lines
fix vmem_alloc() to never return an error for VM_SLEEP requests,
thus fixing kmem_alloc() to never return NULL for KM_SLEEP requests.
instead these operations will retry forever, which was the intent.

Revision 1.92.6.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:07 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4 lines
Sync with HEAD

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:50:32 2015 UTC (9 years, 7 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4 lines
to garnish, dust with _KERNEL_OPT

Revision 1.75.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75.2.3: preferred, colored
Changes since revision 1.75.2.3: +125 -100 lines
Rebase to HEAD as of a few days ago.

Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.65.2.3: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.3: +193 -290 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.83.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:07 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +127 -102 lines
sync with head

Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Apr 2 18:09:10 2014 UTC (10 years, 11 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
make condition for ENOMEM consistent with allocation requirement

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Apr 2 16:14:50 2014 UTC (10 years, 11 months ago) by para
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +8 -7 lines
bt_refill is and must be called with VM_NOSLEEP set, assert this
fix error path if pool_get returns NULL

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Mar 20 06:48:22 2014 UTC (11 years ago) by mlelstv
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
Incorrect use of pointer arithmetic.

CID 1193195:  Extra sizeof expression

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Mar 11 20:32:05 2014 UTC (11 years ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
kill undesirable #ifndef _RUMPKERNEL

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Feb 17 20:40:06 2014 UTC (11 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +111 -87 lines
replace vmem(9) custom boundary tag allocation with a pool(9)

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Nov 22 21:04:11 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +16 -16 lines
convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Oct 25 11:35:55 2013 UTC (11 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
Turn a few __unused into __diagused

Revision 1.83.8.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:36 2013 UTC (11 years, 8 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +2 -2 lines
sync with HEAD

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Jul 22 19:43:54 2013 UTC (11 years, 8 months ago) by alnsn
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -3 lines
Revert the previous commit.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Jul 18 19:39:49 2013 UTC (11 years, 8 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -2 lines
Always terminate qc_name with NUL because pool_init(9) uses
strcmp(3) to compare wchans.

Revision 1.75.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:58 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75.2.2: preferred, colored
Changes since revision 1.75.2.2: +4 -10 lines
resync from head

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Mar 6 11:20:10 2013 UTC (12 years ago) by yamt
Branches: MAIN
CVS tags: riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, riastradh-drm2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -10 lines
update comments

Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:54 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75.2.1: preferred, colored
Changes since revision 1.75.2.1: +85 -185 lines
resync with head

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Feb 9 00:31:21 2013 UTC (12 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -4 lines
printflike maintenance.

Revision 1.72.2.1.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 8 20:22:18 2013 UTC (12 years, 1 month ago) by riz
Branches: netbsd-6-0
CVS tags: 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
Diff to: previous 1.72.2.1: preferred, colored; next MAIN 1.72.2.2: preferred, colored
Changes since revision 1.72.2.1: +21 -7 lines
Pull up following revision(s) (requested by para in ticket #789):
	sys/kern/subr_vmem.c: revision 1.81
	sys/kern/subr_vmem.c: revision 1.77
fix a lock order reversal during global boundary tag refill.
thanks to chuq@
xxx: request pullup
Fix release of vmem_btag_lock (don't release twice in error path)

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 8 20:22:03 2013 UTC (12 years, 1 month ago) by riz
Branches: netbsd-6
CVS tags: 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
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +19 -5 lines
Pull up following revision(s) (requested by para in ticket #789):
	sys/kern/subr_vmem.c: revision 1.81
	sys/kern/subr_vmem.c: revision 1.77
fix a lock order reversal during global boundary tag refill.
thanks to chuq@
xxx: request pullup
Fix release of vmem_btag_lock (don't release twice in error path)

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Feb 8 09:30:01 2013 UTC (12 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -5 lines
Fix release of vmem_btag_lock (don't release twice in error path)

Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Jan 29 21:26:24 2013 UTC (12 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +63 -178 lines
make vmem(9) ready to be used early during bootstrap to replace extent(9)
pass memory for vmem structs into the initialization function and
do away with the static pool of vmem structs.
remove special bootstrapping of the quantum cache pools of the kmem_va_arena
as memory for pool_caches is allocated via pool_allocator_meta which is
fully operational at this point.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Jan 26 15:18:00 2013 UTC (12 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +174 -58 lines
revert previous commit not yet fully functional, sorry

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Jan 26 13:50:33 2013 UTC (12 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +60 -176 lines
make vmem(9) ready to be used early during bootstrap to replace extent(9).
pass memory for vmem structs into the initialization functions and
do away with the static pools for this.
factor out the vmem internal structures into a private header.
remove special bootstrapping of the kmem_va_arena as all necessary memory
comes from pool_allocator_meta wich is fully operational at this point.

Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:22 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.65.2.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.2: +22 -6 lines
sync with head

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Jan 4 08:28:38 2013 UTC (12 years, 2 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +22 -6 lines
fix a lock order reversal during global boundary tag refill.
thanks to chuq@
xxx: request pullup

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:43 2012 UTC (12 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:34 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.1: +22 -12 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Sep 13 21:44:50 2012 UTC (12 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Don't use const foo const as type, one const is enough.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Sep 1 12:28:58 2012 UTC (12 years, 6 months ago) by para
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +20 -10 lines
rework boundary-tag reserve calculation, make it more precise.
add comment about the rational behind the sizing of certain vars
used by allocation and bootstrap.
as requested by yamt@

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jul 30 17:49:24 2012 UTC (12 years, 7 months ago) by njoly
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
Remove final ';' from CONDVAR_DECL macro. The caller already adds its
own.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:28 2012 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +385 -110 lines
sync with head

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 3 16:14:02 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-0
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -6 lines
Pull up following revision(s) (requested by para in ticket #155):
	sys/kern/subr_vmem.c: revision 1.73
	sys/kern/subr_kmem.c: revision 1.43
	sys/rump/librump/rumpkern/vm.c: revision 1.124
make accounting for vm_inuse sane
while here don't statically allocated for more caches then required
adjust rump for static pool_cache count
should have went in with subr_vmem 1.73
don't overallocated once we leave the caches

Revision 1.65.6.2: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:48 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.65.6.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.6.1: +6 -6 lines
sync to -current

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Mar 4 14:28:49 2012 UTC (13 years ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base10
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -6 lines
make accounting for vm_inuse sane
while here don't statically allocated for more caches then required

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:33 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +385 -110 lines
merge to -current.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Feb 10 17:35:47 2012 UTC (13 years, 1 month ago) by para
Branches: MAIN
CVS tags: netbsd-6-base, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
proper sizing of kmem_arena on different ports

PR port-i386/45946: Kernel locks up in VMEM system

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Feb 1 23:43:49 2012 UTC (13 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +7 -2 lines
allocate uareas and buffers from kernel_map again
add code to drain pools if kmem_arena runs out of space

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jan 30 17:35:18 2012 UTC (13 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2 lines
do the bookkeeping right

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jan 29 17:27:37 2012 UTC (13 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -15 lines
- vmem_xalloc: remove call to uvm_kick_pdaemon() as it is not right.
- Reduce some #ifdefs.  Misc.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Jan 29 13:38:15 2012 UTC (13 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +15 -6 lines
move condvar calls under interlock protection
call uvm_kick_pdaemon in case we can sleep and no space in arena

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jan 28 23:05:48 2012 UTC (13 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -46 lines
- Make subr_vmem.c compile as standalone again.
- Reduce some #ifdefs.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:40 2012 UTC (13 years, 1 month ago) by para
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +403 -101 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.65: download - view: text, markup, annotated - select for diffs
Thu Oct 20 03:05:14 2011 UTC (13 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -4 lines
revert a debug printf slipped in with subr_vmem.c rev.1.64.
pointed out by Nicolas Joly.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Oct 19 11:12:37 2011 UTC (13 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +9 -4 lines
vmem_create: copy the 'name' string rather than just keeping a reference to it.
i think it's what solaris does as at least dtrace relies on this behaviour.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Oct 15 19:02:27 2011 UTC (13 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4 lines
Avoid return with expression in void functions.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Oct 2 21:32:48 2011 UTC (13 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +25 -62 lines
- Replace calc_order() with ilog2(), wrap into SIZE2ORDER().
- Inline some functions, reduce some #ifdefs.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Sep 2 22:25:08 2011 UTC (13 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +105 -81 lines
Report vmem(9) errors out-of-band so that we can use vmem(9) to manage
ranges that include the least and the greatest vmem_addr_t.  Update
vmem(9) uses throughout the kernel.  Slightly expand on the tests in
subr_vmem.c, which still pass.  I've been running a kernel with this
patch without any trouble.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Aug 23 22:00:57 2011 UTC (13 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +72 -39 lines
Introduce a couple of new constants, VMEM_ADDR_MIN (the least possible
address in a vmem(9) arena, 0) and VMEM_ADDR_MAX (the maximum possible
address, currently 0xFFFFFFFF).  Modify several boundary conditions so
that a vmem(9) arena can allocate ranges including VMEM_ADDR_MAX.
Update documentation and tests.

These changes pass the tests in sys/kern/subr_vmem.c.  To compile the
and run the test program, run "cd sys/kern/ && gcc -DVMEM_SANITY -o
subr_vmem ./subr_vmem.c && ./subr_vmem".

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Jul 26 13:09:11 2011 UTC (13 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +47 -3 lines
comments.  related to PR/44969

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:21 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -3 lines
sync with head

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Dec 17 22:24:11 2010 UTC (14 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -3 lines
wrap a long line.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:57 2009 UTC (15 years, 10 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +122 -225 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:48 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +139 -49 lines
sync with head.

Revision 1.42.12.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:00 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42.12.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.12.2: +3 -3 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Mar 18 10:22:42 2009 UTC (16 years ago) by cegger
Branches: 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-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: rmind-uvmplock
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Ansify function definitions w/o arguments. Generated with sed.

Revision 1.42.12.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:32:56 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42.12.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.12.1: +123 -226 lines
Sync with HEAD.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:33:46 2009 UTC (16 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -4 lines
vmem_rehash_all: remove a debug printf slipped in with the previous changes.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:31:59 2009 UTC (16 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +123 -224 lines
- fix vmem unittest.  rename VMEM_DEBUG so that it won't be abused again.
- reimplement vmem sanity checks with less code duplication.
- reimplement ddb vmem-related commands in a more consistent ways.
  remove automatic whatis.

Revision 1.42.14.1: download - view: text, markup, annotated - select for diffs
Mon Feb 2 02:40:27 2009 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
CVS tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +4 -3 lines
Pull up following revision(s) (requested by ad in ticket #340):
	sys/kern/subr_vmem.c: revision 1.52
Put vm_lock into its own cache line.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Jan 25 13:08:56 2009 UTC (16 years, 2 months ago) by yamt
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
bump VMEM_HASHSIZE_MAX from 8192 to 65536.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jan 23 13:45:06 2009 UTC (16 years, 2 months ago) by pooka
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Change VMEM_HASHSIZE_INIT from 1 to 128.  This mainly benefits
quick-running or non-threaded rump jobs, where the rehash algorithm
does not have a chance to run.  For other cases it doesn't make
much difference, since the size will grow or decrease when the
rehash algorithm runs for the first time (t=10*hz currently).

Revision 1.42.12.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:39 2009 UTC (16 years, 2 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +197 -4 lines
Sync with HEAD.

Revision 1.41.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:20 2009 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.41.6.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.6.1: +195 -2 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Dec 15 10:26:10 2008 UTC (16 years, 3 months ago) by ad
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -3 lines
Put vm_lock into its own cache line.

Revision 1.42.10.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:08 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +195 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Dec 10 18:07:30 2008 UTC (16 years, 3 months ago) by christos
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
fix endif comment

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Dec 10 17:32:32 2008 UTC (16 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -3 lines
disable VMEM_DEBUG by default.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Dec 10 16:59:12 2008 UTC (16 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
vmem_check_sanity is just too expensive for DEBUG. Enable it only for
VMEM_DEBUG.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Dec 9 07:54:59 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +82 -57 lines
vmem_check_sanity: refactor overlapping check for better readability.
Move use of vmem_check_sanity into locked sections. Pointed out by ad@

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 7 22:39:01 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +43 -13 lines
ddb: make show vmem print exact span type
vmem_check_sanity: print exact span type
vmem_add1: KASSERT span types

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Dec 7 11:49:51 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -6 lines
vmem_check_sanity: fix check to correctly detect even exactly duplicate spans.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 7 09:40:42 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
CVS tags: ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -8 lines
build fix: make i386 build again

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Dec 7 02:21:04 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +86 -2 lines
Spans may never overlap. Overlapping spans mean memory corruption
when used by kmem(9), for example.
Do sanity checks to detect such spans on DEBUG kernels.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 7 00:51:15 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +54 -2 lines
ddb: new 'show vmem' and 'show all vmems' commands.
Useful to inspect vmem(9) structures.

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:04 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -6 lines
Sync with HEAD.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:14 2008 UTC (17 years ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +5 -6 lines
sync with head.

Revision 1.32.8.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:00 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.32.8.3: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.3: +7 -8 lines
sync with HEAD

Revision 1.24.4.10: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:34 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.9: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.9: +5 -6 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Mar 17 08:27:50 2008 UTC (17 years ago) by yamt
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, haad-dm
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -6 lines
- simplify ASSERT_SLEEPABLE.
- move it from proc.h to systm.h.
- add some more checks.
- make it a little more lkm friendly.

Revision 1.33.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:47 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.33.2.3: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.3: +4 -5 lines
Sync with HEAD.

Revision 1.24.4.9: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:17 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.8: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.8: +4 -4 lines
sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jan 24 13:57:52 2008 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
Mark some callouts/workqueues/kthreads MPSAFE.

Revision 1.24.4.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:22 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.7: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.7: +44 -8 lines
sync with head

Revision 1.32.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:20 2008 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.32.8.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.8.2: +45 -9 lines
sync with HEAD

Revision 1.36.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:41 2008 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.2: +0 -1 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:18:14 2008 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -3 lines
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:11 2008 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +13 -15 lines
Sync with HEAD

Revision 1.33.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:08 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.33.2.2: preferred, colored
Changes since revision 1.33.2.2: +44 -7 lines
Sync with HEAD.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:43 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +44 -7 lines
Sync with head.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Dec 22 03:27:10 2007 UTC (17 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +10 -10 lines
vmem_whatis: print "free" btags as well.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 22 01:11:37 2007 UTC (17 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -7 lines
vmem_alloc: round-up size only when necessary.  suggested by Andrew Doran.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:56:55 2007 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +41 -2 lines
Sync with HEAD

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 13 05:06:01 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.1: +41 -2 lines
sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Dec 13 02:45:10 2007 UTC (17 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-kmem-base3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +41 -2 lines
add ddb "whatis" command.  inspired from solaris ::whatis dcmd.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 10 12:56:11 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +397 -68 lines
- separate kernel va allocation (kernel_va_arena) from
  in-kernel fault handling (kernel_map).
- add vmem bootstrap code.  vmem doesn't rely on malloc anymore.
- make kmem_alloc interrupt-safe.
- kill kmem_map.  make malloc a wrapper of kmem_alloc.

Revision 1.32.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:24 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.32.6.3: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.6.3: +3 -3 lines
Sync with HEAD.

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:37 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.33.2.1: preferred, colored
Changes since revision 1.33.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:47 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Sync with head.

Revision 1.24.4.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:33:08 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.6: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.6: +3 -3 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:06:54 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base2, yamt-kmem-base, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-kmem, bouyer-xeni386
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:51 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +23 -37 lines
Sync with HEAD.

Revision 1.24.4.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:50 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.5: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.5: +23 -37 lines
sync with head.

Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:23 2007 UTC (17 years, 4 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +23 -43 lines
Sync with HEAD

Revision 1.32.6.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:10 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.32.6.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.6.2: +22 -36 lines
Sync with HEAD.

Revision 1.27.2.9: download - view: text, markup, annotated - select for diffs
Sat Nov 10 12:14:38 2007 UTC (17 years, 4 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.27.2.8: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.8: +0 -6 lines
pull subr_vmem.c rev.1.33.

Revision 1.32.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 11:00:06 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.8.1: +22 -36 lines
sync with -HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:23:23 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +22 -36 lines
Merge from vmlocking:

- pool_cache changes.
- Debugger/procfs locking fixes.
- Other minor changes.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:32:19 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -9 lines
sync with HEAD

Revision 1.32.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:25:34 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.32.6.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.6.1: +3 -3 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Nov 6 00:42:44 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: jmcneill-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Merge scheduler changes from the vmlocking branch. All discussed on
tech-kern:

- Invert priority space so that zero is the lowest priority. Rearrange
  number and type of priority levels into bands. Add new bands like
  'kernel real time'.
- Ignore the priority level passed to tsleep. Compute priority for
  sleep dynamically.
- For SCHED_4BSD, make priority adjustment per-LWP, not per-process.

Revision 1.24.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:34 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.4: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.4: +2 -8 lines
sync with head.

Revision 1.27.2.8: download - view: text, markup, annotated - select for diffs
Sat Oct 27 09:24:14 2007 UTC (17 years, 5 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.27.2.7: preferred, colored
Changes since revision 1.27.2.7: +0 -4 lines
remove #ifdef notyet which is not necessary.

Revision 1.27.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 27 09:18:54 2007 UTC (17 years, 5 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.27.2.6: preferred, colored
Changes since revision 1.27.2.6: +3 -3 lines
fix priorities for some kernel threads.  advised and ok'ed by Andrew Doran.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:41 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -8 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Oct 23 11:29:06 2007 UTC (17 years, 5 months ago) by yamt
Branches: MAIN
Branch point for: mjf-devfs
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -8 lines
vmem_rehash_all: remove no longer unnecessary splvm/splx pairs.

Revision 1.24.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:07 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.3: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.3: +158 -56 lines
sync with head.

Revision 1.27.2.6: download - view: text, markup, annotated - select for diffs
Sat Sep 1 12:56:48 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.5: preferred, colored
Changes since revision 1.27.2.5: +22 -32 lines
Update for pool_cache API changes.

Revision 1.27.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:44 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.4: preferred, colored
Changes since revision 1.27.2.4: +159 -37 lines
Sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jul 12 20:39:56 2007 UTC (17 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Implementation of per-CPU work-queues support for workqueue(9) interface.
WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue()
to assign a CPU might be used. Notes:
 - For now, the list is used for workqueue_queue, which is non-optimal,
   and will be changed with array, where index would be CPU ID.
 - The data structures should be changed to be cache-friendly.

Reviewed by: <yamt>, <tech-kern>

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:07 2007 UTC (17 years, 8 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +155 -55 lines
Sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:10:55 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +29 -35 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jun 17 13:34:43 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +133 -25 lines
periodically resize vmem hash table.

Revision 1.24.6.4: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:51 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.24.6.3: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.6.3: +2 -4 lines
sync with head.

Revision 1.27.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:40 2007 UTC (17 years, 11 months ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.3: preferred, colored
Changes since revision 1.27.2.3: +2 -4 lines
Sync with head.

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:57 2007 UTC (17 years, 11 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -4 lines
Pullup to -current

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Mar 26 22:52:44 2007 UTC (18 years ago) by hubertf
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -4 lines
Remove duplicate #include's
From: Slava Semushin <php-coder@altlinux.ru>

Revision 1.24.6.3: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:56:04 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.24.6.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.6.2: +5 -4 lines
sync with head.

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 21 20:11:52 2007 UTC (18 years ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.2: preferred, colored
Changes since revision 1.27.2.2: +8 -12 lines
- Replace more simple_locks, and fix up in a few places.
- Use condition variables.
- LOCK_ASSERT -> KASSERT.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:50:58 2007 UTC (18 years ago) by ad
Branches: vmlocking
Diff to: previous 1.27.2.1: preferred, colored
Changes since revision 1.27.2.1: +30 -46 lines
Pull in the initial set of changes for the vmlocking branch.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:51:57 2007 UTC (18 years ago) by ad
Branches: vmlocking
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4 lines
Sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:34 2007 UTC (18 years ago) by ad
Branches: MAIN
Branch point for: reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4 lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.24.6.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:41 2007 UTC (18 years ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.24.6.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.6.1: +3 -2 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Mar 10 15:54:14 2007 UTC (18 years ago) by ad
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
qc_init: don't leave pointers to destroyed pools hanging or we will
allocate from them later.

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:30 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +12 -12 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.24.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:16 2007 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.2: +12 -12 lines
sync with head.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:34:45 2007 UTC (18 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -8 lines
TRUE -> true, FALSE -> false

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:05 2007 UTC (18 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -8 lines
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:07 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +50 -9 lines
Sync with head.

Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:06 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.4.1: +1290 -0 lines
sync with head.

Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:45 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.8.6.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.1: +86 -26 lines
sync with head.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:23 2006 UTC (18 years, 4 months ago) by ad
Branches: newlock2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +219 -24 lines
Sync with head.

Revision 1.24.4.1
Sat Nov 18 07:51:54 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.24: +0 -1290 lines
file subr_vmem.c was added on branch yamt-lazymbuf on 2006-12-30 20:50:06 +0000

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Nov 18 07:51:54 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-lazymbuf, yamt-idlelwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -6 lines
qc_reap, qc_destroy: simplify.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 18 07:51:34 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +26 -2 lines
vmem_destroy: don't forget to clean up qcache_t.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 18 07:51:06 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +25 -8 lines
vmem: share qcache_t if itemsperpage is same.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Nov 12 22:28:17 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -2 lines
protect bt_poolcache by splvm because it's shared among all arenas
including ones which can be used in interrupt context.
PR/35042 from Manuel Bouyer.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 9 10:08:53 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -3 lines
vmem_xalloc: plug memory leak on error.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Nov 4 13:26:22 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +13 -6 lines
- define some macros and use them.
- fix an off-by-one in testcode.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 4 13:25:52 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -0 lines
todo.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 1 10:17:59 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
remove some __unused from function parameters.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 27 15:05:16 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
vmem: use correct function names for ASSERT_SLEEPABLE.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 23 13:36:33 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
qc_init: fix a problem introduced by rev.1.13.
namely, use quantum-size alignment rather than no alignment.
PR/34879 from Peter Postma.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 22 10:19:25 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +0 -3 lines
remove a todo which has been done.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 22 09:42:30 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
qc_init: when initializing pools, use align==1 (ie. no alignment)
rather than align==0, which is converted to ALIGN(1) by pool_init.

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:11 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +198 -22 lines
sync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 17 08:54:03 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -5 lines
vmem_alloc: use __unused rather than a cryptic
"do { if (&strat) {} } while (/* CONSTCOND */ 0);"

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 16 16:05:34 2006 UTC (18 years, 5 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3 lines
another day, another __unused sprinkle.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 16 13:09:42 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +194 -18 lines
implement vmem_xalloc/xfree.
XXX importing needs some more thoughts.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:18 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:16 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +1054 -0 lines
sync with head

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:22 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +188 -12 lines
sync with head.

Revision 1.8.4.1
Mon Aug 21 09:05:22 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.8: +0 -1054 lines
file subr_vmem.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:57:16 +0000

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 21 09:05:22 2006 UTC (18 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Use %zu for size_t

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Aug 20 13:14:03 2006 UTC (18 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -11 lines
vmf_to_prf: tweak code to avoid a "may be used uninitialized" warning.
pointed by Kurt Schreiner.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 20 09:45:59 2006 UTC (18 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +38 -0 lines
implement kva reclamation for kmem_alloc quantum cache.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 20 09:43:08 2006 UTC (18 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +147 -4 lines
implement vmem quantum cache.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 16 13:19:03 2006 UTC (18 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -6 lines
- fix integer overflows.
- bump VMEM_MAXORDER.

should fix "idx < VMEM_MAXORDER" assertion failure reported by
Martijn van Buul on current-users@.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:46 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +7 -2 lines
sync with head

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 21 10:08:41 2006 UTC (18 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -0 lines
use ASSERT_SLEEPABLE where appropriate.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:51 2006 UTC (18 years, 8 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +873 -0 lines
Merge from HEAD.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:52:57 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +873 -0 lines
sync with head.

Revision 1.2.4.1
Mon Jun 26 10:23:20 2006 UTC (18 years, 9 months ago) by gdamore
Branches: gdamore-uart
FILE REMOVED
Changes since revision 1.2: +0 -873 lines
file subr_vmem.c was added on branch gdamore-uart on 2006-07-13 17:49:51 +0000

Revision 1.2.2.1
Mon Jun 26 10:23:20 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.2: +0 -873 lines
file subr_vmem.c was added on branch yamt-pdpolicy on 2006-06-26 12:52:57 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 10:23:20 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Branch point for: yamt-pdpolicy, gdamore-uart
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +24 -16 lines
fix VM_BESTFIT.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 25 08:00:01 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
1. implement solaris-like vmem.  (still primitive, though)
2. implement solaris-like kmem_alloc/free api, using #1.
   (note: this implementation is backed by kernel_map, thus can't be
   used from interrupt context.)

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>