aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rwsem.c
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2012-06-25 09:29:17 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2012-07-23 06:05:40 -0400
commita6d64b9717782170ba27c16b6df8191169d92fad (patch)
tree5721ea5dd94e02e81e01a50a343b38fcb193f5d1 /kernel/rwsem.c
parentc85e6eae1698cecb15d63e112e937f706280c78e (diff)
control page: avoid "minor" page faults
By default, even private writable pages are mapped with the RW bit disabled in the PTE. This causes a "minor" page fault when the page is first written to. To avoid this, make sure that vm_inert_page() uses the proper page protection bits and mark the VMA as VM_IO to keep the rest of the VM code out.
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions