As it turns out, the 100% CPU time is spent bubble-sorting a list of readahead records. That’s idiotic. The C library comes with a standard qsort() function for a reason. This is easy to fix and we should do so.
As it turns out, the 100% CPU time is spent bubble-sorting a list of readahead records. That’s idiotic. The C library comes with a standard qsort() function for a reason. This is easy to fix and we should do so.