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.

** Changed in: sreadahead (Ubuntu)
       Status: Won't Fix => Confirmed

** Changed in: sreadahead (Ubuntu)
     Assignee: (unassigned) => Anders Kaseorg (anders-kaseorg)

** Bug watch added: code.google.com/p/sreadahead/issues #18
   http://code.google.com/p/sreadahead/issues/detail?id=18

** Also affects: sreadahead via
   http://code.google.com/p/sreadahead/issues/detail?id=18
   Importance: Unknown
       Status: Unknown

-- 
sreadahead uses 100 % of the CPU in Karmic
https://bugs.launchpad.net/bugs/421116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to