diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-22 01:49:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-09-04 18:25:20 +0200 |
commit | 09854ba94c6aad7886996bfbee2530b3d8a7f4f4 (patch) | |
tree | 5a2d6fc65cf0a55894388444514e37daa6dd20c8 /mm/ksm.c | |
parent | Linux 5.8 (diff) | |
download | linux-09854ba94c6aad7886996bfbee2530b3d8a7f4f4.tar.xz linux-09854ba94c6aad7886996bfbee2530b3d8a7f4f4.zip |
mm: do_wp_page() simplification
How about we just make sure we're the only possible valid user fo the
page before we bother to reuse it?
Simplify, simplify, simplify.
And get rid of the nasty serialization on the page lock at the same time.
[peterx: add subject prefix]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions