diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-21 19:49:55 -0400 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-16 12:47:43 +0200 |
| commit | 46c6fbdd185a7005fac895c5cfa7896b9329324f (patch) | |
| tree | 3f29778ea9abd4cca355b6d5fd7fb8e54cf636fc /mm/bootmem.c | |
| parent | 90dccbae4c0410e209049e22eaae9cd2718e1aa5 (diff) | |
BACKPORT: 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>
Change-Id: I25c2cf9a3afebc19aaeda29ffbfcb82edb7fcb7c
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions
