memory: adjust safeguard to changes from previous commit
memory: make linux slab reporting work with older kernels
Merge remote-tracking branch 'github/pr/697'