Фото: Дмитрий Азаров / Коммерсантъ
The caller provides context and modifies the behavior of get_user_pages() via flags. Of particular interest is the FOLL_FORCE flag, which mem_rw() passes. This flag causes check_vma_flags (the access validation logic within get_user_pages()) to ignore writes to unwritable pages and allow the lookup to continue. The “punch through” semantics are attributed entirely to FOLL_FORCE. (comments my own)
,详情可参考新收录的资料
Что думаешь? Оцени!
goal. Nextvi is designed to be flexible where the editor adapts