Reviewed by: Serapheim Dimitropoulos <[email protected]> Reviewed by: Dan Kimmel <[email protected]> Reviewed by: Prashanth Sreenivasa <[email protected]>
The kmem_move_* tunables (e.g. kmem_move_noreap) are declared "static". Because they are never set in the code, the compiler can consider them constants and optimize them away - removing the code that checks them. They must not be declared "static" to be used as tunables. Upstream bugs: DLPX-50335 You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/362 -- Commit Summary -- * 8125 kmem_move tunables must not be declared static -- File Changes -- M usr/src/uts/common/os/kmem.c (10) -- Patch Links -- https://github.com/openzfs/openzfs/pull/362.patch https://github.com/openzfs/openzfs/pull/362.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/362 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/ Powered by Topicbox: https://topicbox.com
