diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-21 19:49:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-09-04 09:25:20 -0700 |
commit | 09854ba94c6aad7886996bfbee2530b3d8a7f4f4 (patch) | |
tree | 5a2d6fc65cf0a55894388444514e37daa6dd20c8 /mm/ksm.c | |
parent | bcf876870b95592b52519ed4aafcf9d95999bc9c (diff) |
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