I have a process running in an lxc and it allocates some huge pages. However when the lxc is killed off, the huge pages are still allocated, but no process has them...
$ grep huge /proc/*/numa_maps
/proc/5801/numa_maps:7f7b00000000 prefer:0 file=/mnt/hugepages/rtemap_5 huge dirty=1 N0=1
$ virsh -c lxc:/// destroy <container>
$ grep huge /proc/*/numa_maps
$ cat /proc/meminfo | grep -i huge
HugePages_Total: 6
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1048576 kB
any suggestions on how to reclaim these pages? I tried flushing caches and did not help
$ sync; echo 3 > /proc/sys/vm/drop_caches