diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2024-12-02 19:27:17 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-02 19:44:00 +0100 |
commit | ab807f32085e5861bf3d3336c9de2c0d1e977b4c (patch) | |
tree | 6b31e5453226bef302744893a73f4e5695f3e31c /linux/dev/glue/block.c | |
parent | 8ef7e26975544e0acce75610be8a372e5f5c4931 (diff) | |
download | gnumach-ab807f32085e5861bf3d3336c9de2c0d1e977b4c.tar.gz gnumach-ab807f32085e5861bf3d3336c9de2c0d1e977b4c.tar.bz2 gnumach-ab807f32085e5861bf3d3336c9de2c0d1e977b4c.zip |
vm_page.c: fix a deadlock when running with smp enabled
the call vm_page_seg_pull_cache_page() return an vm_page (src) with his
object being locked, as we don’t unlock before doing the vm_page_insert,
it is still lock there, and so trying to relock it cause a deadlock.
Replace this lock by an assert.
This case was not seen as for non-smp locking is a no-op.
Message-ID: <20241202182721.27920-2-etienne.brateau@gmail.com>
Diffstat (limited to 'linux/dev/glue/block.c')
0 files changed, 0 insertions, 0 deletions