get_user_pages(), pinned pages, and DAX
get_user_pages(), pinned pages, and DAX
Posted May 7, 2019 23:29 UTC (Tue) by jgg (subscriber, #55211)In reply to: get_user_pages(), pinned pages, and DAX by roc
Parent article: get_user_pages(), pinned pages, and DAX
For executable mmaps the ftruncate can return ETXTBUSY. For others you could get SIGBUS on next access. So POSIX endorses both options.
The SIGBUS idea here is different, it would install kill other processes. It also isn't clear how it would know which processes to kill since all things doing this link the pin lifetime to a FD lifetime..
