diff options
author | Howard Zhang <howard.zhang@arm.com> | 2021-07-23 11:31:38 +0800 |
---|---|---|
committer | Howard Zhang <howard.zhang@arm.com> | 2021-07-28 11:37:54 +0800 |
commit | d393d696b25b94d712404a7a2f0f683518ba2ef0 (patch) | |
tree | 19e8fbe642c113a807530ea6af58eed999c5c926 /pkg/sentry/fs/proc/meminfo.go | |
parent | aa2698170041e9bc00542378269231b5eaeffd5d (diff) |
tunning hasSlot function and fix store wrong value in usedSlots
Make hasSlot scan allocated slot, rather than the whole slice.
It is supposed to store physicalStart in usedSlot.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'pkg/sentry/fs/proc/meminfo.go')
0 files changed, 0 insertions, 0 deletions