The NetBSD Project

CVS log for src/share/man/man9/kmem.9

[BACK] Up to [cvs.NetBSD.org] / src / share / man / man9

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Mar 6 14:44:02 2021 UTC (3 years, 9 months ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Fix trivial typo. No need to bump date.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jan 24 17:29:11 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +26 -2 lines
Add kmem_tmpbuf_alloc(), a utility function for allocating memory for
temporary use where allocation on the stack is desirable, but only up to
a certain size.  If the requested size fits within the specified stack
buffer, the stack buffer is returned.  Otherwise, memory is allocated with
kmem_alloc().  Add a corresponding kmem_tmpbuf_free() function that frees
the memory using kmem_free() if it is not the tempory stack buffer location.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jun 19 07:25:20 2020 UTC (4 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Remove trailing whitespace.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jun 18 23:30:51 2020 UTC (4 years, 5 months ago) by kamil
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +24 -2 lines
Document kmem_strdup() and kmem_strndup()

Added in 2018 by christos@ in sys/sys/kmem.h r. 1.11.

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:26 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +2 -86 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Aug 15 12:24:08 2019 UTC (5 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -86 lines
Unlink KMEM_GUARD leftovers.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 10:25:02 2017 UTC (7 years ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +5 -2 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.23: download - view: text, markup, annotated - select for diffs
Tue Nov 7 18:36:27 2017 UTC (7 years, 1 month ago) by christos
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
Branch point for: phil-wifi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +49 -9 lines
document kmem_strdupsize/kmem_strdupfree

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 26 21:58:31 2017 UTC (7 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -2 lines
Drop stray .El.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:28:48 2017 UTC (7 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Remove workaround for ancient HTML generation code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Feb 29 00:34:17 2016 UTC (8 years, 9 months ago) by chs
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, 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, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -16 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.19: download - view: text, markup, annotated - select for diffs
Fri Dec 11 10:05:17 2015 UTC (9 years ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Whitespace nit.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Dec 11 04:11:23 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +18 -2 lines
Spell out that KM_SLEEP allocations can fail.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 28 09:52:43 2015 UTC (9 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -4 lines
Use more Dv.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 28 09:51:42 2015 UTC (9 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +24 -19 lines
New sentence, new line.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 28 08:59:47 2015 UTC (9 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +71 -26 lines
Document KMEM_SIZE, KMEM_REDZONE and KMEM_GUARD.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:37 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +25 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:52 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +25 -2 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.14: download - view: text, markup, annotated - select for diffs
Tue Nov 26 20:47:26 2013 UTC (11 years ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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: netbsd-7
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +25 -2 lines
Mention kmem_intr(9) routines.

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:45 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +4 -3 lines
Catchup with rmind-uvmplock merge.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 14 00:18:00 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3 lines
Xr uvm_km(9)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 8 18:07:14 2011 UTC (13 years, 11 months ago) by jym
Branches: MAIN
CVS tags: uebayasi-xip-base7, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
CONSIDERATION => CONSIDERATIONS, to be on par with the rest of man pages.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 2 12:54:13 2010 UTC (14 years ago) by wiz
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -10 lines
Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:40:05 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
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: +284 -0 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun May 16 05:18:35 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
IMPLEMENTATION NOTES back to NOTES.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 14 18:52:46 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Use standard section headers.

Revision 1.8.2.1
Fri Apr 23 16:24:04 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
FILE REMOVED
Changes since revision 1.8: +0 -284 lines
file kmem.9 was added on branch uebayasi-xip on 2010-08-17 06:40:05 +0000

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 23 16:24:04 2010 UTC (14 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base1
Branch point for: uebayasi-xip
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -3 lines
Mention that kmem_free(9) may block, just in a case it is not clear.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 13 07:44:11 2010 UTC (14 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Bump date for new kmem_asprintf.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 12 01:04:05 2010 UTC (14 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
Start a new paragraph before describing kmem_asprintf().

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 11 23:13:46 2010 UTC (14 years, 10 months ago) by haad
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +14 -1 lines
Add kmem_asprintf rotuine which allocates string accordingly to format
string from kmem pool. Allocated string is string length + 1 char for ending
zero.

Ok: ad@.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 23 00:54:43 2010 UTC (14 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Cross-link a little.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Aug 3 22:20:07 2009 UTC (15 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Fix typo.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 3 20:10:16 2009 UTC (15 years, 4 months ago) by rmind
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +29 -9 lines
kmem(9): add code references, improve a little.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 19:43:59 2009 UTC (15 years, 4 months ago) by rmind
Branches: MAIN
Unify kmem_alloc/zalloc/free under kmem(9).  Links preserved.

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>