[lkml]   [2003]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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?


    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
    More majordomo info at
    Please read the FAQ at

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