From mboxrd@z Thu Jan 1 00:00:00 1970 From: cartercheng@gmail.com (Carter Cheng) Date: Wed, 28 Nov 2018 22:14:08 +0800 Subject: which functions are used for dynamically allocating memory in the kernel? Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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: From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gS0ce-0003sg-Gs for kernelnewbies@kernelnewbies.org; Wed, 28 Nov 2018 09:15:24 -0500 Received: by mail-lf1-x136.google.com with SMTP id i26so19455123lfc.0 for ; Wed, 28 Nov 2018 06:15:23 -0800 (PST) MIME-Version: 1.0 From: Carter Cheng Date: Wed, 28 Nov 2018 22:14:08 +0800 Message-ID: Subject: which functions are used for dynamically allocating memory in the kernel? To: kernelnewbies@kernelnewbies.org List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1236412020584763413==" Errors-To: kernelnewbies-bounces@kernelnewbies.org Message-ID: <20181128141408.Mnc7141W748CH5qVgiitT0rkswTcSNn2-A0yoJHJ7GY@z> --===============1236412020584763413== Content-Type: multipart/alternative; boundary="0000000000009f63f4057bba2ec9" --0000000000009f63f4057bba2ec9 Content-Type: text/plain; charset="UTF-8" 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. --0000000000009f63f4057bba2ec9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am curious which sets of funct= ions return pointers for the purpose of dynamic allocating memory in the ke= rnel? I am aware of get_free_pages family, kmalloc, vmalloc, the slab alloc= ator and mempools are there any others?=C2=A0

Than= ks in advance,

Carter.=C2=A0
--0000000000009f63f4057bba2ec9-- --===============1236412020584763413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============1236412020584763413==--