diff options
author | Michael Kelly <mike@weatherwax.co.uk> | 2025-05-29 15:21:17 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-05-29 15:21:17 +0200 |
commit | 134656a01f0b0275f5192e9779ce7e07f4202b45 (patch) | |
tree | 80dae703fa3d39ef55a72842032902aaf8cbb47a | |
parent | 69905a3b06ccf51b9b7387415928e326886776c9 (diff) |
vm_page_seg_evict: Fix object pointer on restart
The code further down depends on object being NULL if we goto out.
-rw-r--r-- | vm/vm_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c index 00edb3c6..74764e34 100644 --- a/vm/vm_page.c +++ b/vm/vm_page.c @@ -1138,6 +1138,7 @@ restart: current_task()->reactivations++; vm_page_unlock_queues(); page = NULL; + object = NULL; goto restart; } |