Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kmem_log_init() called with too large alloc for 128G+ RAM systems
As the transaction_log_sizes are calculated by "total_memory / 50", (that's literally 50, not percent) the requested log size is (eventually) 2G which will never be honoured by XNU. In addition, the production build had SPL in debug (KMF_CONTENTS) which is quite expensive, disabled by default now.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are you sure you want to remove the ULL type indicator here? Hasn't that bitten us before?