From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 04:16:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F578106566C for ; Tue, 15 Mar 2011 04:16:10 +0000 (UTC) (envelope-from abhiman.yashpal@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D801C8FC15 for ; Tue, 15 Mar 2011 04:16:09 +0000 (UTC) Received: by wwc33 with SMTP id 33so226346wwc.31 for ; Mon, 14 Mar 2011 21:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Bx1iTz5jMj5J6N0fAo/pOx+eSrVoZHi7ZQOloDDZAV4=; b=t31kVl6XurxmuqI1gPRjXuhX5lCzxgxWSnExXOuX3vSOaHqe4qo9PFNVhYdt1fcRR3 4EfcP6U58b4gahClTUVHy3F3FpfAlniWeWCrMPeqpCkOutx76MTzPqqf5gbLy/w7bMSr cBhilMF4b2dwlg6EI2uwkBcJ56CMlE6rH5dG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OaMH+8pjThkTURGy+N+szP7yJMO49aJlDYMf+Mnr/fGj1TIXD7SEIsHQHEyGsUZhSn NfhKv58iRGmctPhkA52JwQYA8ENmx4NUKTef2qeI88iAEb7G8bJuIJk2ZUPuU//Vx/Xr sgpD/VKPeMy2X0cFWzRwFnjg28DsFimRclmMA= MIME-Version: 1.0 Received: by 10.216.241.11 with SMTP id f11mr2997195wer.76.1300160949452; Mon, 14 Mar 2011 20:49:09 -0700 (PDT) Received: by 10.216.10.68 with HTTP; Mon, 14 Mar 2011 20:49:09 -0700 (PDT) Date: Mon, 14 Mar 2011 20:49:09 -0700 Message-ID: From: Abhiman Yashpal Karkera To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Questions regarding ithreads X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 04:16:10 -0000 Hi all, Is there a way in Freebsd in which we could ensure that multiple interrupt events are serviced by a single ithread. When i was browsing through the code i see that whenever we do a "bus_setup_intr()" it ends up creating an event structure followed by the handler structure and then creates the ithread. I am looking for a way in which multiple such events can be serviced by a single ithread rather than creating an ithread per event. -Abhiman