All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Kees Cook <kees@kernel.org>, ksummit@lists.linux.dev
Subject: Re: [TECH TOPIC] Implementing malloc
Date: Thu, 9 Jul 2026 21:42:55 +0300	[thread overview]
Message-ID: <ak_rr7I4wVPieWYT@stanley.mountain> (raw)
In-Reply-To: <ak_WOfpcaZIuh99t@casper.infradead.org>

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


  parent reply	other threads:[~2026-07-09 18:43 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 14:29 [TECH TOPIC] Implementing malloc Matthew Wilcox
2026-06-29 15:07 ` Dan Carpenter
2026-06-29 15:21   ` H. Peter Anvin
2026-06-29 15:31   ` Matthew Wilcox
2026-06-29 16:00     ` Vlastimil Babka (SUSE)
2026-06-29 16:37     ` H. Peter Anvin
2026-06-29 16:48 ` Alexey Dobriyan
2026-06-29 16:48 ` H. Peter Anvin
2026-06-29 18:19   ` Matthew Wilcox
2026-06-29 18:22     ` H. Peter Anvin
2026-06-29 18:29     ` Mark Brown
2026-06-29 18:37       ` Vlastimil Babka (SUSE)
2026-06-30 18:53     ` Steven Rostedt
2026-07-09 16:58 ` Kees Cook
2026-07-09 17:11   ` Matthew Wilcox
2026-07-09 17:30     ` H. Peter Anvin
2026-07-09 17:39       ` Greg KH
2026-07-09 17:42       ` Miguel Ojeda
2026-07-09 17:40     ` Miguel Ojeda
2026-07-09 18:18       ` H. Peter Anvin
2026-07-09 18:44         ` Miguel Ojeda
2026-07-09 18:50           ` H. Peter Anvin
2026-07-09 19:04             ` Miguel Ojeda
2026-07-09 18:42     ` Dan Carpenter [this message]
2026-07-09 18:45       ` Matthew Wilcox
2026-07-09 19:13         ` Linus Torvalds
2026-07-10 11:21       ` Geert Uytterhoeven
2026-07-10 11:44         ` Laurent Pinchart
2026-07-10 12:16         ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ak_rr7I4wVPieWYT@stanley.mountain \
    --to=error27@gmail.com \
    --cc=kees@kernel.org \
    --cc=ksummit@lists.linux.dev \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.