From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 09:06:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBD8616A4CE for ; Tue, 3 Feb 2004 09:06:45 -0800 (PST) Received: from mail.spinnakernet.com (mail.spinnakernet.com [141.151.129.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 200D543D2D for ; Tue, 3 Feb 2004 09:06:40 -0800 (PST) (envelope-from schellap@spinnakernet.com) Received: from spinnakernet.com (schellap-pc.spinnakernet.com [10.98.17.130]) by mail.spinnakernet.com (8.11.0/8.11.0) with ESMTP id i13H6Xu17856 for ; Tue, 3 Feb 2004 12:06:39 -0500 Message-ID: <401FD454.1010504@spinnakernet.com> Date: Tue, 03 Feb 2004 12:03:16 -0500 From: Sridhar Chellappa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel Threads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 17:06:45 -0000 Some questions on kernel threads under BSD : Is there a way to tie a kernel thread to a specific CPU? Is it also possible to move a kernel thread from one CPU to another ? Is there a way to make a kernel thread non-Pre-emptible ? Is yes how do we do it? I heard that even Interrupts run under kernel threads context. If I make some kernel threads non-Pre-Emptible, then how will I prevent the interrupt threads from getting starved ? How can a kernel thread yield CPU when it detects it is idle?