From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 5 16:59:01 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36F361065670; Wed, 5 Oct 2011 16:59:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CA38A8FC12; Wed, 5 Oct 2011 16:59:00 +0000 (UTC) Received: by vws11 with SMTP id 11so2115563vws.13 for ; Wed, 05 Oct 2011 09:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=kE6uf3Z9jkJu8UGpwkkg6aoI0JWDpUELHU3NZMvAQu0=; b=BvsUVYGRNG1QmkfKpwTIhA1grPfQC3c0t926IB+EtDYJaqrvBPhtVnQJYQdqOn2J4G A57LobvVZnEwt1Fxi/O7CTyHPa9T8FW0lojtSLysqsR2FDP9Pk0TPCIDhkHdb9jF6ChR YZqqlehHF63eQI22tGRWFeFtQ4CcMvsnajOaM= MIME-Version: 1.0 Received: by 10.52.73.33 with SMTP id i1mr2499123vdv.261.1317833939731; Wed, 05 Oct 2011 09:58:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.52.161.138 with HTTP; Wed, 5 Oct 2011 09:58:59 -0700 (PDT) In-Reply-To: <4E8C73C5.3020809@freebsd.org> References: <4E86DC86.3040204@FreeBSD.org> <4E8C73C5.3020809@freebsd.org> Date: Thu, 6 Oct 2011 00:58:59 +0800 X-Google-Sender-Auth: JQdvTJCD9AFQWj-2whSsd16nS3E Message-ID: From: Adrian Chadd To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: how are callouts handled in cpu_idle() ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 16:59:01 -0000 On 5 October 2011 23:12, Nathan Whitehorn wrote: > Can you explain why the critical section is there in more detail? It seems > like all of our problems arise because of it. It seems to make some of my MIPS cases more problematic. I don't know about the i386. DES reports that his weird/crashing fileserver issues are fixed by setting idletick=1. I'd love to hear from other users who have fixed their HEAD/9.0 issues by setting kernel.eventtimer.idletick=1. I have a feeling that some corner cases in interrupt handling and task scheduling are now (more) exposed due to the timer code in 9. I'm hoping to replicate some issues on my i386 eeepc (which uses ACPI for halting, rather than HLT) and see if that also contributes. Adrian