We should of course pass the provided domainset rather than copying what
plain malloc() does.
Fixes: 89deca0a3361 ("malloc: make malloc_large closer to standalone")
Differential D58316
malloc: Fix domainset usage in malloc_domainset() for large allocs Authored by markj on Fri, Jul 17, 9:13 PM.
Details We should of course pass the provided domainset rather than copying what Fixes: 89deca0a3361 ("malloc: make malloc_large closer to standalone")
Diff Detail
Event TimelineComment Actions Yes, though maybe there's a better way to do what we're doing. memguard can be used with only small performance impact for types/zones that don't match vm.memguard.desc. Actually I was recently thinking about a way to use memguard more broadly for infrequent allocations. |