lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Serial BH vs. Immediate BH
Hi,

> i noticed the problem with the limited number of BH handlers and
> many serial multiport cards registering their own bottom half.
>
> How are bottom halfs shareable and is it acceptable to use serial_bh
> and/or immediate_bh for a serial multiport card ?

You don't need to use a separate bottom half handler at all. Just
make your driver call queue_task() to queue your function to tq_immediate
and call mark_bh(IMMEDIATE_BH). See <linux/tqueue.h>.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"It's a lemon tree, my dear Watson." -- Sherlock Holmes (?)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.021 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site