Module Name: src Committed By: riastradh Date: Sat Feb 1 12:49:02 UTC 2020
Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile percpu.9 src/sys/kern: subr_percpu.c src/sys/sys: percpu.h Log Message: New function percpu_create. Associates a constructor and destructor with the percpu. Currently the constructor runs immediately, but in principle we could use the same API for future CPU hotplug support. This lets you sleep for allocation or draining users before deallocation when setting up or tearing down a percpu -- currently we have many abuses of percpu_foreach in tree for that purpose. Proposed on tech-kern: https://mail-index.NetBSD.org/tech-kern/2020/01/30/msg026036.html To generate a diff of this commit: cvs rdiff -u -r1.2307 -r1.2308 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.445 -r1.446 src/share/man/man9/Makefile cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/percpu.9 cvs rdiff -u -r1.20 -r1.21 src/sys/kern/subr_percpu.c cvs rdiff -u -r1.3 -r1.4 src/sys/sys/percpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.