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


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 6 14:44:02 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: 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
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Fix trivial typo. No need to bump date.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 24 17:29:11 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +26 -2 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Fri Jun 19 07:25:20 2020 UTC (3 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Remove trailing whitespace.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 18 23:30:51 2020 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.24: +24 -2 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:03:26 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.23: +2 -86 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 15 12:24:08 2019 UTC (4 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.23: +2 -86 lines
Diff to previous 1.23 (colored)

Unlink KMEM_GUARD leftovers.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Dec 3 10:25:02 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

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) - annotate - [select for diffs], Tue Nov 7 18:36:27 2017 UTC (6 years, 5 months ago) by christos
Branch: 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-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
Changes since 1.22: +49 -9 lines
Diff to previous 1.22 (colored)

document kmem_strdupsize/kmem_strdupfree

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 26 21:58:31 2017 UTC (6 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Drop stray .El.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 3 21:28:48 2017 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Remove workaround for ancient HTML generation code.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 29 00:34:17 2016 UTC (8 years, 1 month ago) by chs
Branch: 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-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
Changes since 1.19: +3 -16 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Fri Dec 11 10:05:17 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Whitespace nit.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 11 04:11:23 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.17: +18 -2 lines
Diff to previous 1.17 (colored)

Spell out that KM_SLEEP allocations can fail.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 28 09:52:43 2015 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

Use more Dv.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 28 09:51:42 2015 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.15: +24 -19 lines
Diff to previous 1.15 (colored)

New sentence, new line.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 28 08:59:47 2015 UTC (8 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.14: +71 -26 lines
Diff to previous 1.14 (colored)

Document KMEM_SIZE, KMEM_REDZONE and KMEM_GUARD.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:37 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.13: +25 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:37:52 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.13: +25 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Nov 26 20:47:26 2013 UTC (10 years, 4 months ago) by rmind
Branch: 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
Changes since 1.13: +25 -2 lines
Diff to previous 1.13 (colored)

Mention kmem_intr(9) routines.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:45 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 14 00:18:00 2011 UTC (12 years, 10 months ago) by rmind
Branch: 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
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

Xr uvm_km(9)

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jan 8 18:07:14 2011 UTC (13 years, 3 months ago) by jym
Branch: MAIN
CVS Tags: uebayasi-xip-base7, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

CONSIDERATION => CONSIDERATIONS, to be on par with the rest of man pages.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 2 12:54:13 2010 UTC (13 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.10: +1 -10 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Tue Aug 17 06:40:05 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.8.2.1: +284 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 16 05:18:35 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

IMPLEMENTATION NOTES back to NOTES.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 14 18:52:46 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Use standard section headers.

Revision 1.8.2.1, Fri Apr 23 16:24:04 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.8: +0 -284 lines
FILE REMOVED

file kmem.9 was added on branch uebayasi-xip on 2010-08-17 06:40:05 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 23 16:24:04 2010 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Branch point for: uebayasi-xip
Changes since 1.7: +9 -3 lines
Diff to previous 1.7 (colored)

Mention that kmem_free(9) may block, just in a case it is not clear.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 13 07:44:11 2010 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Bump date for new kmem_asprintf.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 12 01:04:05 2010 UTC (14 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Start a new paragraph before describing kmem_asprintf().

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 11 23:13:46 2010 UTC (14 years, 2 months ago) by haad
Branch: MAIN
Changes since 1.4: +14 -1 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Sat Jan 23 00:54:43 2010 UTC (14 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Cross-link a little.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 3 22:20:07 2009 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Fix typo.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 3 20:10:16 2009 UTC (14 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.1: +29 -9 lines
Diff to previous 1.1 (colored)

kmem(9): add code references, improve a little.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 3 19:43:59 2009 UTC (14 years, 8 months ago) by rmind
Branch: MAIN

Unify kmem_alloc/zalloc/free under kmem(9).  Links preserved.

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 <webmaster@jp.NetBSD.org>