Page MenuHomeFreeBSD

vm_map: add vm_map_find_locked(9)
ClosedPublic

Authored by kib on Sep 15 2024, 7:01 AM.
Tags
None
Referenced Files
F160174861: D46678.id143508.diff
Sun, Jun 21, 10:04 PM
F160147037: D46678.id143508.diff
Sun, Jun 21, 6:37 PM
Unknown Object (File)
Sun, Jun 21, 4:43 PM
Unknown Object (File)
Sun, Jun 21, 4:41 PM
Unknown Object (File)
Sun, Jun 14, 9:00 AM
Unknown Object (File)
Sat, Jun 13, 10:42 PM
Unknown Object (File)
Fri, Jun 12, 4:32 PM
Unknown Object (File)
Mon, Jun 1, 8:43 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Sep 15 2024, 7:01 AM
This revision is now accepted and ready to land.Sep 15 2024, 1:21 PM

Just out of curiosity, is this a first step in a larger set of changes?

sys/vm/vm_map.c
2145

Drop the "vm_map_find: " prefix?

2259–2265

Hijacking this review for the moment, I want to share an observation: If not for vm_map_alignspace() changing *addr when it fails, a restart would not be necessary here. On entry to vm_map_alignspace(), *addr already holds an address that is large enough and qualifies as ANY_SPACE.

kib marked an inline comment as done.Sep 15 2024, 5:51 PM
In D46678#1064006, @alc wrote:

Just out of curiosity, is this a first step in a larger set of changes?

This is for D46619

This revision was automatically updated to reflect the committed changes.