The NetBSD Project

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

[BACK] Up to [] / src / sys / kern

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-3

Revision / (download) - annotate - [select for diffs], Fri Mar 10 13:19:42 2006 UTC (12 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since +32 -30 lines
Diff to previous (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Pull up following revision(s) (requested by bjh21 in ticket #1192):
	sys/sys/pool.h: revision 1.48
	sys/kern/subr_pool.c: revision 1.112
Medium-sized overhaul of POOL_SUBPAGE support so that:
1: I can understand it, and
2: It works.
Notable externally-visible changes are that POOL_SUBPAGE now has to be a
compile-time constant, and that trying to initialise a pool whose objects are
larger than POOL_SUBPAGE automatically generates a pool that doesn't use
NetBSD/acorn26 now boots multi-user again.

Revision / (download) - annotate - [select for diffs], Sat Jun 18 11:13:12 2005 UTC (13 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3-0
Changes since 1.99: +114 -84 lines
Diff to previous 1.99 (colored)

Pull up revision 1.101 (requested by thorpej in ticket #474):
Fix some locking issues:
- Make the locking rules for pr_rmpage() sane, and don't modify fields
protected by the pool lock without actually holding it.
- Always defer freeing the pool page to the back-end allocator, to avoid
invoking the pool_allocator with the pool locked (which would violate
the pool_allocator -> pool locking order).
- Fix pool_reclaim() to not violate the pool_cache -> pool locking order
by using a trylock.
Reviewed by Chuq Silvers.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 1 21:09:56 2005 UTC (14 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, kent-audio1-beforemerge
Branch point for: yamt-km, netbsd-3, kent-audio2
Changes since 1.98: +22 -13 lines
Diff to previous 1.98 (colored)

- use uint8_t instead of uint16_t for freelist index.
- set ph_off only if PR_NOTOUCH.
- comment.

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

CVSweb <>