- Add a new API to the backing store/allocator to longterm-pin the page. For example, something along the lines of shmem_pin_mapping_page_longterm() for shmem as suggested by Daniel. A similar one needs to be added for hugetlbfs as well.This may also be reasonable.
Sounds reasonable to keep the old API (that we unfortunately have) working. -- Cheers, David / dhildenb