lkml.org 
[lkml]   [2001]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Looking for comments on Bottom-Half/Tasklet/SoftIRQ
    Many thanks once again.

    Chuck

    On Sun, Aug 19, 2001 at 09:01:13PM +0200, Anders Peter Fugmann wrote:
    > chuckw@ieee.org wrote:
    > > Thanks
    > >
    > > So, Bottom halves don't need to be re-entrant as do tasklets. SoftIRQ's
    > > need to be re-entrant. The advantage of tasklets is that each tasklet can
    > > be farmed out to different CPU's AND they don't need to be re-entrant
    > > because only one instance is allowed at a time. I think I got it.
    >
    > That is 100% correct.
    >
    > >
    > > Could you direct me to some code in the kernel which uses tasklets
    > > so I can see the inner workings?
    >
    > Actually very few systems in the kernel has been rewritten to use
    > tasklets instead og BH's.
    >
    > But as they are very simillar to BH's, you should be able to use the
    > same thinking, its just a new API.
    >
    > Take a look at include/linux/interrupt.h
    > (or http://lxr.linux.no/source/include/linux/interrupt.h, an invaluable
    > source when coding for linux).
    >
    > Regards
    > Anders Fugmann
    >
    -
    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 12:57    [W:0.024 / U:90.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site