The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.198.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 months ago) by tls
Branch: tls-maxphys
Changes since 1.198.2.2: +104 -5 lines
Diff to previous 1.198.2.2 (colored) to branchpoint 1.198 (colored) next main 1.199 (colored) to selected 1.60.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.201.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:58 2014 UTC (9 months, 1 week ago) by tls
Branch: tls-earlyentropy
Changes since 1.201: +103 -5 lines
Diff to previous 1.201 (colored) next main 1.202 (colored) to selected 1.60.2.2 (colored)

Rebase.

Revision 1.203 / (download) - annotate - [select for diffs], Fri Jun 13 19:09:07 2014 UTC (11 months, 1 week ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-7-base, netbsd-7, HEAD
Changes since 1.202: +101 -3 lines
Diff to previous 1.202 (colored) to selected 1.60.2.2 (colored)

Add kern.pool for memory pool stats.

Revision 1.190.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (12 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.190.2.3: +22 -10 lines
Diff to previous 1.190.2.3 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored) to selected 1.60.2.2 (colored)

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.194.2.2 / (download) - annotate - [select for diffs], Wed May 21 20:34:38 2014 UTC (12 months ago) by bouyer
Branch: netbsd-6
Changes since 1.194.2.1: +4 -4 lines
Diff to previous 1.194.2.1 (colored) to branchpoint 1.194 (colored) next main 1.195 (colored) to selected 1.60.2.2 (colored)

Pull up following revision(s) (requested by abs in ticket #1054):
	sys/kern/subr_pool.c: revision 1.202
Ensure pool_head is non static - for "vmstat -i"

Revision 1.200.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (12 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.200: +7 -6 lines
Diff to previous 1.200 (colored) next main 1.201 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.202 / (download) - annotate - [select for diffs], Sat Apr 26 16:30:05 2014 UTC (12 months, 3 weeks ago) by abs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.201: +4 -4 lines
Diff to previous 1.201 (colored) to selected 1.60.2.2 (colored)

Ensure pool_head is non static - for "vmstat -i"

Revision 1.201 / (download) - annotate - [select for diffs], Mon Feb 17 20:40:06 2014 UTC (15 months ago) by para
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.200: +5 -4 lines
Diff to previous 1.200 (colored) to selected 1.60.2.2 (colored)

replace vmem(9) custom boundary tag allocation with a pool(9)

Revision 1.198.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:58 2013 UTC (22 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.198.2.1: +15 -4 lines
Diff to previous 1.198.2.1 (colored) to branchpoint 1.198 (colored) to selected 1.60.2.2 (colored)

resync from head

Revision 1.200 / (download) - annotate - [select for diffs], Mon Mar 11 21:37:54 2013 UTC (2 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.199: +15 -4 lines
Diff to previous 1.199 (colored) to selected 1.60.2.2 (colored)

In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()),
so we need to retry if curlwp took a context switch during the call.
Otherwise, CPU-local invariants can get screwed up:

    panic: kernel diagnostic assertion "cur->pcg_avail == cur->pcg_size" failed

This is (was) very easy to reproduce by just running:

  while : ; do RUMP_NCPU=32 ./a.out ; done

where a.out only calls rump_init().  But, any situation there's contention
and a pool doesn't have emptygroups would do.

Revision 1.198.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:53 2013 UTC (2 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.198: +4 -4 lines
Diff to previous 1.198 (colored) to selected 1.60.2.2 (colored)

resync with head

Revision 1.199 / (download) - annotate - [select for diffs], Sat Feb 9 00:31:21 2013 UTC (2 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.198: +4 -4 lines
Diff to previous 1.198 (colored) to selected 1.60.2.2 (colored)

printflike maintenance.

Revision 1.190.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:34 2012 UTC (2 years, 6 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.190.2.2: +35 -47 lines
Diff to previous 1.190.2.2 (colored) to branchpoint 1.190 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.198 / (download) - annotate - [select for diffs], Tue Aug 28 15:52:19 2012 UTC (2 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.197: +6 -2 lines
Diff to previous 1.197 (colored) to selected 1.60.2.2 (colored)

proper locking for DEBUG

Revision 1.194.2.1 / (download) - annotate - [select for diffs], Mon Jul 2 19:04:42 2012 UTC (2 years, 10 months ago) by jdc
Branch: 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, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.194: +10 -21 lines
Diff to previous 1.194 (colored) to selected 1.60.2.2 (colored)

Pull up revisions:
  src/sys/kern/subr_pool.c revision 1.196
  src/share/man/man9/pool_cache.9 patch
(requested by jym in ticket #366).

As pool reclaiming is unlikely to happen at interrupt or softint
context, re-enable the portion of code that allows invalidation of
CPU-bound pool caches.

Two reasons:
- CPU cached objects being invalidated, the probability of fetching an
obsolete object from the pool_cache(9) is greatly reduced. This speeds
up pool_cache_get() quite a bit as it does not have to keep destroying
objects until it finds an updated one when an invalidation is in progress.

- for situations where we have to ensure that no obsolete object remains
after a state transition (canonical example: pmap mappings between Xen
VM restoration), invalidating all pool_cache(9) is the safest way to go.

As it uses xcall(9) to broadcast the execution of pool_cache_transfer(),
pool_cache_invalidate() cannot be called from interrupt or softint
context (scheduling a xcall(9) can put a LWP to sleep).

pool_cache_xcall() => pool_cache_transfer() to reflect its use.

Invalidation being a costly process (1000s objects may be destroyed),
all places where pool_cache_invalidate() may be called from
interrupt/softint context will now get caught by the proper KASSERT(),
and fixed. Ping me when you see one.

Tested under i386 and amd64 by running ATF suite within 64MiB HVM
domains (tried triggering pgdaemon a few times).

No objection on tech-kern@.

XXX a similar fix has to be pulled up to NetBSD-6, but with a more
conservative approach.

See http://mail-index.netbsd.org/tech-kern/2012/05/29/msg013245.html

Revision 1.197 / (download) - annotate - [select for diffs], Tue Jun 5 22:51:47 2012 UTC (2 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.196: +11 -35 lines
Diff to previous 1.196 (colored) to selected 1.60.2.2 (colored)

Now that pool_cache_invalidate() is synchronous and can handle per-CPU
caches, merge together pool_drain_start() and pool_drain_end() into

bool pool_drain(struct pool **ppp);

"bool" value indicates whether reclaiming was fully done (true) or not (false)
"ppp" will contain a pointer to the pool that was drained (optional).

See http://mail-index.netbsd.org/tech-kern/2012/06/04/msg013287.html

Revision 1.196 / (download) - annotate - [select for diffs], Tue Jun 5 22:28:11 2012 UTC (2 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.195: +23 -15 lines
Diff to previous 1.195 (colored) to selected 1.60.2.2 (colored)

As pool reclaiming is unlikely to happen at interrupt or softint
context, re-enable the portion of code that allows invalidation of CPU-bound
pool caches.

Two reasons:
- CPU cached objects being invalidated, the probability of fetching an
obsolete object from the pool_cache(9) is greatly reduced. This speeds up
pool_cache_get() quite a bit as it does not have to keep destroying objects
until it finds an updated one when an invalidation is in progress.

- for situations where we have to ensure that no obsolete object remains
after a state transition (canonical example: pmap mappings between Xen VM
restoration), invalidating all pool_cache(9) is the safest way to go.

As it uses xcall(9) to broadcast the execution of pool_cache_transfer(),
pool_cache_invalidate() cannot be called from interrupt or softint context
(scheduling a xcall(9) can put a LWP to sleep).

pool_cache_xcall() => pool_cache_transfer() to reflect its use.

Invalidation being a costly process (1000s objects may be destroyed),
all places where pool_cache_invalidate() may be called from
interrupt/softint context will now get caught by the proper KASSERT(), and
fixed. Ping me when you see one.

Tested under i386 and amd64 by running ATF suite within 64MiB HVM
domains (tried triggering pgdaemon a few times).

No objection on tech-kern@.

XXX a similar fix has to be pulled up to NetBSD-6, but with a more
conservative approach.

See http://mail-index.netbsd.org/tech-kern/2012/05/29/msg013245.html

Revision 1.190.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:33 2012 UTC (2 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.190.6.1: +3 -237 lines
Diff to previous 1.190.6.1 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored) to selected 1.60.2.2 (colored)

sync to latest -current.

Revision 1.190.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:11 2012 UTC (3 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.190.2.1: +3 -237 lines
Diff to previous 1.190.2.1 (colored) to branchpoint 1.190 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.195 / (download) - annotate - [select for diffs], Sat May 5 19:15:10 2012 UTC (3 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.194: +3 -237 lines
Diff to previous 1.194 (colored) to selected 1.60.2.2 (colored)

G/C POOL_DIAGNOSTIC option.  No objection on tech-kern@.

Revision 1.190.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:28 2012 UTC (3 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.190: +91 -197 lines
Diff to previous 1.190 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.190.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:32 2012 UTC (3 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.190: +91 -197 lines
Diff to previous 1.190 (colored) to selected 1.60.2.2 (colored)

merge to -current.

Revision 1.194 / (download) - annotate - [select for diffs], Sat Feb 4 22:11:42 2012 UTC (3 years, 3 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.193: +4 -24 lines
Diff to previous 1.193 (colored) to selected 1.60.2.2 (colored)

make acorn26 compile by fixing up subpage pool allocations

ok: riz@

Revision 1.193 / (download) - annotate - [select for diffs], Sun Jan 29 20:20:18 2012 UTC (3 years, 3 months ago) by he
Branch: MAIN
Changes since 1.192: +5 -3 lines
Diff to previous 1.192 (colored) to selected 1.60.2.2 (colored)

Use the same style for initialization of pool_allocator_kmem under
POOL_SUBPAGE as all the other poll_allocator structs.  Fixes build
problem for acorn26.

Revision 1.192 / (download) - annotate - [select for diffs], Sat Jan 28 00:00:06 2012 UTC (3 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.191: +24 -26 lines
Diff to previous 1.191 (colored) to selected 1.60.2.2 (colored)

pool_page_alloc, pool_page_alloc_meta: avoid extra compare, use const.
ffs_mountfs,sys_swapctl: replace memset with kmem_zalloc.
sys_swapctl: move kmem_free outside the lock path.
uvm_init: fix comment, remove pointless numeration of steps.
uvm_map_enter: remove meflagval variable.
Fix some indentation.

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:40 2012 UTC (3 years, 3 months ago) by para
Branch: MAIN
Changes since 1.190: +86 -172 lines
Diff to previous 1.190 (colored) to selected 1.60.2.2 (colored)

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.190 / (download) - annotate - [select for diffs], Tue Sep 27 01:02:39 2011 UTC (3 years, 7 months ago) by jym
Branch: 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
Changes since 1.189: +4 -4 lines
Diff to previous 1.189 (colored) to selected 1.60.2.2 (colored)

Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html

Revision 1.186.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:35 2011 UTC (3 years, 11 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.186: +8 -3 lines
Diff to previous 1.186 (colored) next main 1.187 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.182.4.4 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:09 2011 UTC (4 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.182.4.3: +2 -0 lines
Diff to previous 1.182.4.3 (colored) to branchpoint 1.182 (colored) next main 1.183 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.189 / (download) - annotate - [select for diffs], Tue Mar 22 15:16:23 2011 UTC (4 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.188: +4 -2 lines
Diff to previous 1.188 (colored) to selected 1.60.2.2 (colored)

pnbuf_cache is used all over the place outside of vfs, so put it
in one place to avoid many definitions.

Revision 1.182.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:19 2011 UTC (4 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.182.4.2: +6 -3 lines
Diff to previous 1.182.4.2 (colored) to branchpoint 1.182 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.188 / (download) - annotate - [select for diffs], Mon Jan 17 07:36:58 2011 UTC (4 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.187: +3 -0 lines
Diff to previous 1.187 (colored) to selected 1.60.2.2 (colored)

Fix a conditional include.

Revision 1.187 / (download) - annotate - [select for diffs], Mon Jan 17 07:13:32 2011 UTC (4 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.186: +3 -3 lines
Diff to previous 1.186 (colored) to selected 1.60.2.2 (colored)

Include internal definitions (uvm/uvm.h) only where necessary.

Revision 1.182.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:30 2010 UTC (4 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.182.2.1: +30 -15 lines
Diff to previous 1.182.2.1 (colored) to branchpoint 1.182 (colored) next main 1.183 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.158.2.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:42 2010 UTC (4 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.158.2.4: +38 -22 lines
Diff to previous 1.158.2.4 (colored) to branchpoint 1.158 (colored) next main 1.159 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.182.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:54 2010 UTC (4 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.182.4.1: +8 -5 lines
Diff to previous 1.182.4.1 (colored) to branchpoint 1.182 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.186 / (download) - annotate - [select for diffs], Thu Jun 3 10:40:17 2010 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.185: +8 -5 lines
Diff to previous 1.185 (colored) to selected 1.60.2.2 (colored)

Report result of pool_reclaim() from pool_drain_end().

Revision 1.182.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:58 2010 UTC (4 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.182: +32 -19 lines
Diff to previous 1.182 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.185 / (download) - annotate - [select for diffs], Wed May 12 08:11:16 2010 UTC (5 years ago) by rmind
Branch: MAIN
Changes since 1.184: +5 -4 lines
Diff to previous 1.184 (colored) to selected 1.60.2.2 (colored)

pool_{cache_}get: improve previous diagnostic by checking for panicstr,
so it wont trigger the assert while trying to dump core on crash.

Revision 1.184 / (download) - annotate - [select for diffs], Wed May 12 03:43:46 2010 UTC (5 years ago) by rmind
Branch: MAIN
Changes since 1.183: +25 -14 lines
Diff to previous 1.183 (colored) to selected 1.60.2.2 (colored)

- Sprinkle asserts to catch calls from interrupt context on IPL_NONE pools.
- Add diagnostic drain attempt.

Revision 1.182.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:12 2010 UTC (5 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.182: +8 -7 lines
Diff to previous 1.182 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.183 / (download) - annotate - [select for diffs], Sun Apr 25 11:49:04 2010 UTC (5 years ago) by ad
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.182: +8 -7 lines
Diff to previous 1.182 (colored) to selected 1.60.2.2 (colored)

MAXCPUS -> __arraycount

Revision 1.158.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:18 2010 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.158.2.3: +99 -38 lines
Diff to previous 1.158.2.3 (colored) to branchpoint 1.158 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.182 / (download) - annotate - [select for diffs], Wed Jan 20 23:40:42 2010 UTC (5 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.181: +4 -3 lines
Diff to previous 1.181 (colored) to selected 1.60.2.2 (colored)

pool_cache_invalidate: comment out invalidation of per-CPU caches (nobody depends
on it, at the moment) until we decide how to fix it (xcall(9) cannot be used from
interrupt context).  XXX: Perhaps implement XC_HIGHPRI.

Revision 1.181 / (download) - annotate - [select for diffs], Sun Jan 3 09:42:22 2010 UTC (5 years, 4 months ago) by mlelstv
Branch: MAIN
Changes since 1.180: +6 -6 lines
Diff to previous 1.180 (colored) to selected 1.60.2.2 (colored)

drop __predict micro optimization in pool_init for cleaner code.

Revision 1.180 / (download) - annotate - [select for diffs], Sun Jan 3 01:07:19 2010 UTC (5 years, 4 months ago) by mlelstv
Branch: MAIN
Changes since 1.179: +6 -4 lines
Diff to previous 1.179 (colored) to selected 1.60.2.2 (colored)

Pools are created way before the pool subsystem mutexes are
initialized.

Ignore also pool_allocator_lock while the system is in cold state.

When the system has left cold state, uvm_init() should have
also initialized the pool subsystem and the mutexes are
ready to use.

Revision 1.179 / (download) - annotate - [select for diffs], Sat Jan 2 15:20:39 2010 UTC (5 years, 4 months ago) by mlelstv
Branch: MAIN
Changes since 1.178: +21 -17 lines
Diff to previous 1.178 (colored) to selected 1.60.2.2 (colored)

Move initialization of pool_allocator_lock before its first use.
This failed on archs where a mutex isn't initialized to a zero
value.

Defer allocation of pool log to the logging action, if allocation
fails, it will be retried the next time something is logged.

Clear pool log on allocation so that ddb doesn't crash when showing
so far unused log entries.

Revision 1.178 / (download) - annotate - [select for diffs], Wed Dec 30 18:57:17 2009 UTC (5 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.177: +15 -4 lines
Diff to previous 1.177 (colored) to selected 1.60.2.2 (colored)

Turn PA_INITIALIZED to a reference count for the pool allocator, and once
it drops to zero destroy the mutex we initialize. This fixes the problem
mentioned in

	http://mail-index.netbsd.org/tech-kern/2009/12/28/msg006727.html

Also remove pa_flags now that it's no longer needed.

Idea from matt@, okay matt@.

Revision 1.177 / (download) - annotate - [select for diffs], Tue Oct 20 17:24:22 2009 UTC (5 years, 7 months ago) by jym
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored) to selected 1.60.2.2 (colored)

Fix a bug where on MP systems, pool_cache_invalidate(9) could be called
early during boot, just after CPUs are attached but before they are marked
as running.

This will result in a list of CPUs without the SPCF_RUNNING flag set, and
will trigger the 'KASSERT(xc_tailp < xc_headp)' in xc_lowpri() as no cross
call is issued.

Bug reported and patch tested by tron@.

See also http://mail-index.netbsd.org/tech-kern/2009/10/19/msg006293.html

Revision 1.176 / (download) - annotate - [select for diffs], Thu Oct 15 20:50:12 2009 UTC (5 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.175: +24 -16 lines
Diff to previous 1.175 (colored) to selected 1.60.2.2 (colored)

- pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
  caches before draining the global cache.
- pool_cache_invalidate_local(): remove.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Oct 8 21:54:45 2009 UTC (5 years, 7 months ago) by jym
Branch: MAIN
Changes since 1.174: +54 -19 lines
Diff to previous 1.174 (colored) to selected 1.60.2.2 (colored)

Add pool_cache_invalidate_local() to the pool_cache(9) API, to permit
per-CPU objects invalidation when cached in the pool cache.

See http://mail-index.netbsd.org/tech-kern/2009/10/05/msg006206.html .

Reviewed by bouyer@. Thanks!

Revision 1.158.2.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:01 2009 UTC (5 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.158.2.2: +3 -10 lines
Diff to previous 1.158.2.2 (colored) to branchpoint 1.158 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.174 / (download) - annotate - [select for diffs], Sun Sep 13 18:45:11 2009 UTC (5 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.173: +2 -9 lines
Diff to previous 1.173 (colored) to selected 1.60.2.2 (colored)

Wipe out the last vestiges of POOL_INIT with one swift stroke.  In
most cases, use a proper constructor.  For proplib, give a local
equivalent of POOL_INIT for the kernel object implementation.  This
way the code structure can be preserved, and a local link set is
not hazardous anyway (unless proplib is split to several modules,
but that'll be the day).

tested by booting a kernel in qemu and compile-testing i386/ALL

Revision 1.173 / (download) - annotate - [select for diffs], Sat Aug 29 00:09:02 2009 UTC (5 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.172: +3 -3 lines
Diff to previous 1.172 (colored) to selected 1.60.2.2 (colored)

Make pool_head static.

Revision 1.171.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (6 years ago) by jym
Branch: jym-xensuspend
Changes since 1.171: +3 -2 lines
Diff to previous 1.171 (colored) next main 1.172 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

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

Revision 1.158.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (6 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.158.2.1: +123 -162 lines
Diff to previous 1.158.2.1 (colored) to branchpoint 1.158 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.170.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (6 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.170.2.1: +3 -2 lines
Diff to previous 1.170.2.1 (colored) to branchpoint 1.170 (colored) next main 1.171 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.172 / (download) - annotate - [select for diffs], Wed Apr 15 11:45:18 2009 UTC (6 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Changes since 1.171: +3 -2 lines
Diff to previous 1.171 (colored) to selected 1.60.2.2 (colored)

pool_cache_put_paddr: add an assertion.

Revision 1.170.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (6 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.170: +22 -11 lines
Diff to previous 1.170 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.151.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (6 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151.6.3: +21 -10 lines
Diff to previous 1.151.6.3 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.165.2.3 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (6 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.165.2.2: +22 -11 lines
Diff to previous 1.165.2.2 (colored) next main 1.166 (colored) to selected 1.60.2.2 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.170.4.1 / (download) - annotate - [select for diffs], Mon Nov 17 18:46:11 2008 UTC (6 years, 6 months ago) by snj
Branch: 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-RC1, 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
Changes since 1.170: +22 -11 lines
Diff to previous 1.170 (colored) next main 1.171 (colored) to selected 1.60.2.2 (colored)

Pull up following revision(s) (requested by ad in ticket #72):
	sys/kern/subr_pool.c: revision 1.171
Avoid recursive mutex_enter() when the system is low on KVA.
Should fix crash reported by riz on current-users.

Revision 1.171 / (download) - annotate - [select for diffs], Tue Nov 11 16:13:03 2008 UTC (6 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.170: +22 -11 lines
Diff to previous 1.170 (colored) to selected 1.60.2.2 (colored)

Avoid recursive mutex_enter() when the system is low on KVA.
Should fix crash reported by riz on current-users.

Revision 1.165.2.2 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (6 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.165.2.1: +3006 -0 lines
Diff to previous 1.165.2.1 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Oct 15 08:13:17 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.169: +3 -3 lines
Diff to previous 1.169 (colored) to selected 1.60.2.2 (colored)

- Rename cpu_lookup_byindex() to cpu_lookup(). The hardware ID isn't of
  interest to MI code. No functional change.
- Change /dev/cpu to operate on cpu index, not hardware ID. Now cpuctl
  shouldn't print confused output.

Revision 1.151.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151.6.2: +109 -154 lines
Diff to previous 1.151.6.2 (colored) to branchpoint 1.151 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.160.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:43 2008 UTC (6 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.160.2.1: +111 -156 lines
Diff to previous 1.160.2.1 (colored) to branchpoint 1.160 (colored) next main 1.161 (colored) to selected 1.60.2.2 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.169 / (download) - annotate - [select for diffs], Mon Aug 11 02:48:42 2008 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.168: +7 -7 lines
Diff to previous 1.168 (colored) to selected 1.60.2.2 (colored)

make pcg_dummy const to catch bugs earlier.

Revision 1.168 / (download) - annotate - [select for diffs], Mon Aug 11 02:46:40 2008 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.167: +10 -2 lines
Diff to previous 1.167 (colored) to selected 1.60.2.2 (colored)

add some KASSERTs.

Revision 1.167 / (download) - annotate - [select for diffs], Fri Aug 8 16:58:01 2008 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.166: +3 -3 lines
Diff to previous 1.166 (colored) to selected 1.60.2.2 (colored)

Comment whitespace.

Revision 1.161.2.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:49 2008 UTC (6 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.161: +102 -155 lines
Diff to previous 1.161 (colored) next main 1.162 (colored) to selected 1.60.2.2 (colored)

Sync with head.

Revision 1.166 / (download) - annotate - [select for diffs], Wed Jul 9 02:43:53 2008 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.165: +2 -5 lines
Diff to previous 1.165 (colored) to selected 1.60.2.2 (colored)

pool_do_put: fix a pool corruption bug discovered by
the recent exec_pool changes.

Revision 1.165.2.1, Mon Jul 7 12:27:19 2008 UTC (6 years, 10 months ago) by haad
Branch: haad-dm
Changes since 1.165: +0 -3001 lines
FILE REMOVED

file subr_pool.c was added on branch haad-dm on 2008-10-19 22:17:28 +0000

Revision 1.165 / (download) - annotate - [select for diffs], Mon Jul 7 12:27:19 2008 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Branch point for: haad-dm
Changes since 1.164: +10 -6 lines
Diff to previous 1.164 (colored) to selected 1.60.2.2 (colored)

fix pool corruption bugs in subr_pool.c 1.162.

Revision 1.164 / (download) - annotate - [select for diffs], Fri Jul 4 16:41:00 2008 UTC (6 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163 (colored) to selected 1.60.2.2 (colored)

Move an assignment later.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Jul 4 16:38:59 2008 UTC (6 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.162: +30 -44 lines
Diff to previous 1.162 (colored) to selected 1.60.2.2 (colored)

- Keep cache locked while allocating a cache group - later we might want
  to automatically tune the group sizes at run time.
- Fix broken assertion.
- Avoid another test+branch.

Revision 1.162 / (download) - annotate - [select for diffs], Fri Jul 4 13:28:08 2008 UTC (6 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.161: +110 -150 lines
Diff to previous 1.161 (colored) to selected 1.60.2.2 (colored)

Remove a bunch of conditional branches from the pool_cache fast path.

Revision 1.160.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (6 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.160: +5 -11 lines
Diff to previous 1.160 (colored) to selected 1.60.2.2 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.156.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (6 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.156.2.1: +5 -11 lines
Diff to previous 1.156.2.1 (colored) to branchpoint 1.156 (colored) next main 1.157 (colored) to selected 1.60.2.2 (colored)

sync with head

Revision 1.151.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (6 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151.6.1: +9 -38 lines
Diff to previous 1.151.6.1 (colored) to branchpoint 1.151 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.161 / (download) - annotate - [select for diffs], Sat May 31 13:31:25 2008 UTC (6 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.160: +5 -11 lines
Diff to previous 1.160 (colored) to selected 1.60.2.2 (colored)

Use __noinline.

Revision 1.156.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:09 2008 UTC (7 years ago) by yamt
Branch: yamt-pf42
Changes since 1.156: +8 -31 lines
Diff to previous 1.156 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.158.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:26 2008 UTC (7 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.158: +4 -11 lines
Diff to previous 1.158 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.160 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (7 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.159: +2 -9 lines
Diff to previous 1.159 (colored) to selected 1.60.2.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.159 / (download) - annotate - [select for diffs], Mon Apr 28 15:36:01 2008 UTC (7 years ago) by ad
Branch: MAIN
Changes since 1.158: +4 -4 lines
Diff to previous 1.158 (colored) to selected 1.60.2.2 (colored)

Add MI code to support in-kernel preemption. Preemption is deferred by
one of the following:

- Holding kernel_lock (indicating that the code is not MT safe).
- Bracketing critical sections with kpreempt_disable/kpreempt_enable.
- Holding the interrupt priority level above IPL_NONE.

Statistics on kernel preemption are reported via event counters, and
where preemption is deferred for some reason, it's also reported via
lockstat. The LWP priority at which preemption is triggered is tuneable
via sysctl.

Revision 1.158 / (download) - annotate - [select for diffs], Sun Apr 27 11:37:48 2008 UTC (7 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.157: +4 -4 lines
Diff to previous 1.157 (colored) to selected 1.60.2.2 (colored)

- Rename crit_enter/crit_exit to kpreempt_disable/kpreempt_enable.
  DragonflyBSD uses the crit names for something quite different.
- Add a kpreempt_disabled function for diagnostic assertions.
- Add inline versions of kpreempt_enable/kpreempt_disable for primitives.
- Make some more changes for preemption safety to the x86 pmap.

Revision 1.157 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:36 2008 UTC (7 years ago) by ad
Branch: MAIN
Changes since 1.156: +6 -22 lines
Diff to previous 1.156 (colored) to selected 1.60.2.2 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.151.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:03 2008 UTC (7 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.151: +14 -15 lines
Diff to previous 1.151 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Mar 27 18:30:15 2008 UTC (7 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.155: +6 -8 lines
Diff to previous 1.155 (colored) to selected 1.60.2.2 (colored)

Replace use of CACHE_LINE_SIZE in some obvious places.

Revision 1.101.2.13 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (7 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.12: +6 -4 lines
Diff to previous 1.101.2.12 (colored) next main 1.102 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.151.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (7 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.151: +10 -9 lines
Diff to previous 1.151 (colored) next main 1.152 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.131.2.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (7 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.131.2.3: +23 -20 lines
Diff to previous 1.131.2.3 (colored) to branchpoint 1.131 (colored) next main 1.132 (colored) to selected 1.60.2.2 (colored)

sync with HEAD

Revision 1.155 / (download) - annotate - [select for diffs], Mon Mar 17 17:05:54 2008 UTC (7 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.154: +6 -4 lines
Diff to previous 1.154 (colored) to selected 1.60.2.2 (colored)

Make them compile again.

Revision 1.101.2.12 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (7 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.11: +6 -7 lines
Diff to previous 1.101.2.11 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.154 / (download) - annotate - [select for diffs], Mon Mar 17 08:27:50 2008 UTC (7 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.153: +4 -4 lines
Diff to previous 1.153 (colored) to selected 1.60.2.2 (colored)

- simplify ASSERT_SLEEPABLE.
- move it from proc.h to systm.h.
- add some more checks.
- make it a little more lkm friendly.

Revision 1.153 / (download) - annotate - [select for diffs], Mon Mar 10 22:20:14 2008 UTC (7 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.152: +3 -3 lines
Diff to previous 1.152 (colored) to selected 1.60.2.2 (colored)

Use cpu index instead of the machine dependend, not very expressive
cpuid when naming user-visible kernel entities.

Revision 1.152 / (download) - annotate - [select for diffs], Sun Mar 2 12:19:58 2008 UTC (7 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.151: +3 -4 lines
Diff to previous 1.151 (colored) to selected 1.60.2.2 (colored)

pool_do_put: remove pa_starved_p check for now as it seems to cause
more problems than it solves.  PR/37993 from Greg A. Woods.

Revision 1.101.2.11 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:56 2008 UTC (7 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.10: +13 -13 lines
Diff to previous 1.101.2.10 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.133.4.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (7 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.133.4.3: +78 -57 lines
Diff to previous 1.133.4.3 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored) to selected 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.151 / (download) - annotate - [select for diffs], Thu Feb 14 11:45:24 2008 UTC (7 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.150: +13 -13 lines
Diff to previous 1.150 (colored) to selected 1.60.2.2 (colored)

use time_uptime instead of getmicrotime() for ph_time.

Revision 1.101.2.10 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (7 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.9: +3 -3 lines
Diff to previous 1.101.2.9 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.150 / (download) - annotate - [select for diffs], Tue Feb 5 10:11:19 2008 UTC (7 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.149: +3 -3 lines
Diff to previous 1.149 (colored) to selected 1.60.2.2 (colored)

Revert previous as requested by yamt.

Revision 1.101.2.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:16 2008 UTC (7 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.101.2.8: +5 -3 lines
Diff to previous 1.101.2.8 (colored) to selected 1.60.2.2 (colored)

sync with head.

Revision 1.149 / (download) - annotate - [select for diffs], Sat Feb 2 20:21:55 2008 UTC (7 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.148: +3 -3 lines
Diff to previous 1.148 (colored) to selected 1.60.2.2 (colored)

Check alignment against pp->pr_align not pp->pr_alloc->pa_pagesz.

DIAGNOSTIC kernels on hppa boot again.

OK'd by ad.

Revision 1.148 / (download) - annotate - [select for diffs], Mon Jan 28 10:26:12 2008 UTC (7 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.147: +4 -2 lines
Diff to previous 1.147 (colored) to selected 1.60.2.2 (colored)

pool_cache_get_paddr: don't bother to clear pcgo_va unless DIAGNOSTIC.

Revision