git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] mingw: stop using nedmalloc

From
Patrick Steinhardt <ps@pks.im>
Date
May 5, 2026, 06:09 UTC
Message-ID
<afmJnZXeWtNEru4q@pks.im>
In-Reply-To
<pull.2104.git.1777811392756.gitgitgadget@gmail.com>
On Sun, May 03, 2026 at 12:29:52PM +0000, Johannes Schindelin via GitGitGadget wrote:
Show 11 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
> Rather than patch the unmaintained vendored sources to silence the
> warning, stop opting into nedmalloc altogether on MINGW. The platform
> allocator is what every non-MINGW build already uses, and a fresh
> build of git.git's master against a minimal Git for Windows SDK
> upgraded to GCC 16, with `USE_NED_ALLOCATOR` removed from the MINGW
> section, completes successfully.
> 
> The compat/nedmalloc/ subtree itself is left in place to keep this
> change minimal; nothing in the build links against it any longer, so
> it can be removed in a follow-up if desired.

I guess this is fair as an intermediate step. But seeing that this removes the last user per our "config.mak.uname" I do wonder whether we want to maybe drop nedmalloc completely. Not necessarily in this patch, but maybe in a subsequent step?

Thanks!
Patrick
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin via GitGitGadget
Message 2 of 20 in “mingw: stop using nedmalloc”
  1. mingw: stop using nedmallocJohannes Schindelin via GitGitGadget, May 3, 2026
  2. Patrick SteinhardtMay 5, 2026
  3. 0/6 mingw: stop using nedmallocJohannes Schindelin via GitGitGadget, May 7, 2026
  4. 1/6 mingw: stop using nedmallocJohannes Schindelin via GitGitGadget, May 7, 2026
  5. 2/6 mingw: drop the build-system plumbing for nedmallocJohannes Schindelin via GitGitGadget, May 7, 2026
  6. 3/6 mingw: drop the small nedmalloc auxiliary filesJohannes Schindelin via GitGitGadget, May 7, 2026
  7. 4/6 mingw: drop the first chunk of compat/nedmalloc/malloc.c.hJohannes Schindelin via GitGitGadget, May 7, 2026
  8. 5/6 mingw: drop the second chunk of compat/nedmalloc/malloc.c.hJohannes Schindelin via GitGitGadget, May 7, 2026
  9. 6/6 mingw: drop the rest of compat/nedmalloc/malloc.c.hJohannes Schindelin via GitGitGadget, May 7, 2026
  10. Junio C HamanoMay 8, 2026
  11. Jeff KingMay 8, 2026
  12. 0/6 mingw: stop using nedmallocJohannes Schindelin via GitGitGadget, May 8, 2026
  13. 1/6 mingw: stop using nedmallocJohannes Schindelin via GitGitGadget, May 8, 2026
  14. 2/6 mingw: drop the build-system plumbing for nedmallocJohannes Schindelin via GitGitGadget, May 8, 2026
  15. 3/6 mingw: remove the vendored compat/nedmalloc/ subtreeJohannes Schindelin via GitGitGadget, May 8, 2026
  16. 5/6 to be squashed into 3/6 (chunk 2 of 3)Johannes Schindelin via GitGitGadget, May 8, 2026
  17. 4/6 to be squashed into 3/6 (chunk 1 of 3)Johannes Schindelin via GitGitGadget, May 8, 2026
  18. 6/6 to be squashed into 3/6 (chunk 3 of 3)Johannes Schindelin via GitGitGadget, May 8, 2026
  19. Patrick SteinhardtMay 8, 2026
  20. Junio C HamanoMay 10, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.