lkml.org 
[lkml]   [2010]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs
    > > >> 2) Per volume threads and mempools were added to solve low memory
    > > >> problems (exhausted mempools), isn't now possible deadlock here again?
    > > >
    > > > Increasing the number of parallel submitters does not increase deadlocks
    > > > with mempool as long as they don't nest. They would just
    > > > block each other, but eventually make progress as one finishes.
    > >
    > > I mean if they nest of course, sorry for confusion.
    >
    > No change to that, it's the same as it always worked.
    >
    > Anyways, Right now you would need to nest more than 16 times I think
    > to exhaust the mempool (or 8, but the pages are less critical I think)
    >
    > For me that seems like a "don't do that if hurts" situation.

    If the mempools are per-instance (they are), it can nest any number of
    times, because each nested instance will get new mempools. It is not a
    problem.

    Mikulas


    \
     
     \ /
      Last update: 2010-06-01 04:43    [W:0.029 / U:28.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site