summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-block-bcache
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2015-12-03 23:33:26 +0100
committerJiri Kosina <jkosina@suse.cz>2015-12-04 22:51:07 +0100
commitb56b36ee6751abe7fb3890681e86fc8de2122953 (patch)
treeb95a1d26730cf2389214e303199c25bc160134c9 /Documentation/ABI/testing/sysfs-block-bcache
parentMerge branch 'from-rusty/modules-next' into for-4.5/core (diff)
downloadlinux-b56b36ee6751abe7fb3890681e86fc8de2122953.tar.xz
linux-b56b36ee6751abe7fb3890681e86fc8de2122953.zip
livepatch: Cleanup module page permission changes
Calling set_memory_rw() and set_memory_ro() for every iteration of the loop in klp_write_object_relocations() is messy, inefficient, and error-prone. Change all the read-only pages to read-write before the loop and convert them back to read-only again afterwards. Suggested-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-block-bcache')
0 files changed, 0 insertions, 0 deletions