Page MenuHomeFreeBSD

riscv: Retire PMAP_INLINE
ClosedPublic

Authored by markj on Oct 19 2023, 1:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 7:02 AM
Unknown Object (File)
Tue, Apr 30, 5:48 AM
Unknown Object (File)
Tue, Apr 30, 5:48 AM
Unknown Object (File)
Tue, Apr 30, 5:06 AM
Unknown Object (File)
Mon, Apr 29, 10:08 PM
Unknown Object (File)
Fri, Apr 26, 1:09 PM
Unknown Object (File)
Fri, Apr 26, 12:34 AM
Unknown Object (File)
Mon, Apr 22, 3:07 PM
Subscribers

Details

Summary

pmap_kremove() is not called from within pmap.c, so there's no reason to
inline it. No functional change intended.

Diff Detail

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

Event Timeline

markj requested review of this revision.Oct 19 2023, 1:07 PM

Can we do the same for x86?

This revision is now accepted and ready to land.Oct 20 2023, 4:02 PM
In D42287#965564, @kib wrote:

Can we do the same for x86?

I think it would be reasonable: clang does not define __GNUC_GNU_INLINE__, so by default PMAP_INLINE is just inline.

This revision was automatically updated to reflect the committed changes.