It’s probably best for performance to set the buffer to 64MB instead of disabling it via HMBAllocationPolicy 0.
I’ve made a registry file that should work for all SN770s and maybe other drives for people that don’t want to mess with regedit. You can download it here: Windows 11 Reg fix for SN770 (and other) HMB force to 64M · GitHub (right click on raw > save link as) then double click on the downloaded file.