From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 22 20:10:18 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 43D82470; Fri, 22 Mar 2013 20:10:18 +0000 (UTC) (envelope-from vasanth.raonaik@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 9E3D3277; Fri, 22 Mar 2013 20:10:17 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id fe20so8097958lab.15 for ; Fri, 22 Mar 2013 13:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1Bn32o8O6eFVPWFTDP5z2r1pFiVEEQo1+4+08fyeZVE=; b=nygzLxGeVIiKK8z4aueYWfobqqrRi1J72n5qH+3jXABKuwJ/G1wXvNOhtUzXi/eFIZ OUyWfAoa4qfgEBXb6g7/G8mQkdgmdU/KzDlRt2smqcIUcoy4qIJN39RZJo0pz9Hpcttd uSYUiTf1pXOYGsFfJG/noIVtstUbUf9IvB3DgPJ1UvfgMrKT/k/BOMKmqS8N2BtkSk4B QKoDOThalgK61gvyYSTiqCnbV95buZvcS5qPV9d9Qt1JyUJH6AAUm4VDUDiFJu49bZe8 MqnoQVGpgpujtBUurfiAqXHs4KpkqIzjy8+JbKrkmb+6blsVmuaieZSwzK8ZYnyUjBgN 2f2A== MIME-Version: 1.0 X-Received: by 10.112.49.3 with SMTP id q3mr1826828lbn.92.1363983016563; Fri, 22 Mar 2013 13:10:16 -0700 (PDT) Received: by 10.112.138.33 with HTTP; Fri, 22 Mar 2013 13:10:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Mar 2013 16:10:16 -0400 Message-ID: Subject: Re: preemptive kernel From: vasanth rao naik sabavat To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 20:10:18 -0000 Hi Adrian, Just to clarify, is the kernel pre-emption involuntary? Let say I have a kernel thread processing a huge list of entries, would this thread get involuntarily context switched out because of kernel preemption? What is the time slice after which a kernel thread can involuntarily context switched out? Could you please point to the file in the source code which handles the kernel pre-emption. Thanks, Vasanth On Fri, Mar 22, 2013 at 4:00 PM, Adrian Chadd wrote: > Yes. > > > > Adrian > > > On 22 March 2013 12:09, vasanth rao naik sabavat > wrote: > > Hi, > > > > Is the FreeBSD-10 kernel preemptive? > > > > -- > > Thanks, > > Vasanth > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > -- Thanks, Vasanth