Home
last modified time | relevance | path

Searched hist:"7 be371792f03735519174b773450546e6bf5376e" (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/system/kernel/
H A Dmmap_fixed_test.cpp7be371792f03735519174b773450546e6bf5376e Sun May 21 00:15:27 UTC 2023 Trung Nguyen <trungnt282910@gmail.com> kernel/vm: unlock cache before unmapping addresses

Unlock the current cache in `map_backing_store` before
`unmap_address_range` is called, since `unmap_address_range` may
call `delete_area` which would then also attempt to lock the same
cache if that cache has already been mapped to an area in the
conflicting address range.

Fixes #18422.

Change-Id: I6fc5301c43d11bb6df489a2e6d6bdcd6cd80d2b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6392
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
H A DJamfile7be371792f03735519174b773450546e6bf5376e Sun May 21 00:15:27 UTC 2023 Trung Nguyen <trungnt282910@gmail.com> kernel/vm: unlock cache before unmapping addresses

Unlock the current cache in `map_backing_store` before
`unmap_address_range` is called, since `unmap_address_range` may
call `delete_area` which would then also attempt to lock the same
cache if that cache has already been mapped to an area in the
conflicting address range.

Fixes #18422.

Change-Id: I6fc5301c43d11bb6df489a2e6d6bdcd6cd80d2b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6392
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
/haiku/src/system/kernel/vm/
H A Dvm.cpp7be371792f03735519174b773450546e6bf5376e Sun May 21 00:15:27 UTC 2023 Trung Nguyen <trungnt282910@gmail.com> kernel/vm: unlock cache before unmapping addresses

Unlock the current cache in `map_backing_store` before
`unmap_address_range` is called, since `unmap_address_range` may
call `delete_area` which would then also attempt to lock the same
cache if that cache has already been mapped to an area in the
conflicting address range.

Fixes #18422.

Change-Id: I6fc5301c43d11bb6df489a2e6d6bdcd6cd80d2b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6392
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>