freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

Use calloc and memset instead of malloc and bcopy

Open AZero13 opened this issue 4 years ago • 2 comments

AZero13 avatar Oct 04 '21 16:10 AZero13

Looks good. Do you have a committer for this?

hselasky avatar Mar 10 '22 08:03 hselasky

Please rebase your patch and update the commit message.

hselasky avatar Mar 11 '22 09:03 hselasky

No I do not have a committer for this, sadly.

AZero13 avatar Nov 14 '22 14:11 AZero13

The rest of geom tends to prefer bzero over memset. Since there's no clear win from one vs the other in the kernel, and to be consistent with the rest of geom, I'm going to close this pull request. All the other changes have landed.

bsdimp avatar Feb 04 '23 18:02 bsdimp