Kernel Newbies archive on lore.kernel.org
 help / Atom feed
* which functions are used for dynamically allocating memory in the kernel?
@ 2018-11-28 14:14 cartercheng
  2018-11-28 14:14 ` Carter Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: cartercheng @ 2018-11-28 14:14 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I am curious which sets of functions return pointers for the purpose of
dynamic allocating memory in the kernel? I am aware of get_free_pages
family, kmalloc, vmalloc, the slab allocator and mempools are there any
others?

Thanks in advance,

Carter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20181128/017bf0bc/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* which functions are used for dynamically allocating memory in the kernel?
  2018-11-28 14:14 which functions are used for dynamically allocating memory in the kernel? cartercheng
@ 2018-11-28 14:14 ` Carter Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Carter Cheng @ 2018-11-28 14:14 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]

Hello,

I am curious which sets of functions return pointers for the purpose of
dynamic allocating memory in the kernel? I am aware of get_free_pages
family, kmalloc, vmalloc, the slab allocator and mempools are there any
others?

Thanks in advance,

Carter.

[-- Attachment #1.2: Type: text/html, Size: 357 bytes --]

<div dir="ltr">Hello,<div><br></div><div>I am curious which sets of functions return pointers for the purpose of dynamic allocating memory in the kernel? I am aware of get_free_pages family, kmalloc, vmalloc, the slab allocator and mempools are there any others? </div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Carter. </div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28 14:14 which functions are used for dynamically allocating memory in the kernel? cartercheng
2018-11-28 14:14 ` Carter Cheng

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox