linux/arch/um/include/shared/skas
Tiwei Bie 2717c6b649 um: Abandon the _PAGE_NEWPROT bit
When a PTE is updated in the page table, the _PAGE_NEWPAGE bit will
always be set. And the corresponding page will always be mapped or
unmapped depending on whether the PTE is present or not. The check
on the _PAGE_NEWPROT bit is not really reachable. Abandoning it will
allow us to simplify the code and remove the unreachable code.

Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241011102354.1682626-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-10-23 09:52:49 +02:00
..
mm_id.h um: Remove unused mm_fd field from mm_id 2024-09-12 20:36:22 +02:00
skas.h um: Remove the declaration of user_thread function 2024-09-12 20:43:26 +02:00
stub-data.h um: Abandon the _PAGE_NEWPROT bit 2024-10-23 09:52:49 +02:00