lkml.org 
[lkml]   [2010]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] lib: more scalable list_sort()
    On Wed, Jan 20, 2010 at 08:51:26PM -0800, Don Mullis wrote:
    > The use of list_sort() by UBIFS looks like it could generate long
    > lists; this alternative implementation scales better, reaching ~3x
    > performance gain as list length approaches the L2 cache size.

    If this can really be called with long lists
    the function likely needs (optional) need_resched()s
    Otherwise it could ruin scheduling latencies.

    -Andi


    \
     
     \ /
      Last update: 2010-01-21 19:01    [W:2.643 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site