Page MenuHomeFreeBSD

vmm: Remove an unneeded lookup in devmem_create_cdev()
ClosedPublic

Authored by markj on Aug 27 2024, 12:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 3:24 PM
Unknown Object (File)
Wed, May 13, 2:47 PM
Unknown Object (File)
Tue, May 12, 1:04 PM
Unknown Object (File)
Tue, May 12, 8:12 AM
Unknown Object (File)
Mon, May 11, 10:02 PM
Unknown Object (File)
Mon, May 11, 10:02 PM
Unknown Object (File)
Sun, May 10, 6:16 AM
Unknown Object (File)
Sun, May 10, 6:11 AM
Subscribers

Details

Summary

The sole caller of this function already holds a pointer to the VM's
softc, so rather than passing the VM name and looking it up again, just
pass the softc pointer directly. This function is only called from an
ioctl context, so the softc structure will remain live.

Diff Detail

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