Re: [TECH TOPIC] Implementing malloc
Dan Carpenter <[email protected]> Thu, 9 Jul 2026 21:42:55 +0300
| Newsgroups | dev.linux.lists.ksummit |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 09, 2026 at 06:11:21PM +0100, Matthew Wilcox wrote: > I agree that many memory allocations benefit from providing more semantic > information to both the compiler and the runtime, as you suggest. > What I don't think we benefit from is "And you have to pass this magic > GFP_KERNEL argument too. Unless it's GFP_ATOMIC or something". You know that most people are using kzmalloc_obj() these days and so they don't pass GFP_KERNEL... regards, dan carpenter