lkml.org 
[lkml]   [2003]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC] 1/2 central workspace for zlib
    On Fri, 30 May 2003 17:14:10 -0700, David S. Miller wrote:
    >
    > Actually, your idea is interesting. Are you going to use
    > per-cpu workspaces?

    Yes, I already am.

    > I think the best scheme is 2 per-cpu workspaces, one for
    > normal and one for softirq context.

    Agreed. Current patch doesn't cover softirq context yet.

    > No locking needed whatsoever. I hope it can work :-)

    How about preemption? zlib operations take their time, so at least on
    up, it makes sense to preempt them, when not in softirq context. Can
    this still be done lockless?

    Jörn

    --
    More computing sins are committed in the name of efficiency (without
    necessarily achieving it) than for any other single reason - including
    blind stupidity.
    -- W. A. Wulf
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:35    [W:0.043 / U:30.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site