From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from moutvdomng0.schlund.de (moutvdomng0.kundenserver.de [195.20.224.130]) by chiba.3jane.net (Postfix) with ESMTP id A633FABD8A for ; Thu, 6 Jun 2002 13:42:13 -0500 (CDT) Received: from [172.19.20.62] (helo=mrvdomng1.kundenserver.de) by moutvdomng0.schlund.de with esmtp (Exim 3.22 #2) id 17G2D1-00047m-00 for gentoo-dev@gentoo.org; Thu, 06 Jun 2002 20:42:07 +0200 Received: from [217.85.210.68] (helo=eiche.ahsoftware) by mrvdomng1.kundenserver.de with esmtp (Exim 3.22 #2) id 17G2D0-0007Me-00 for gentoo-dev@gentoo.org; Thu, 06 Jun 2002 20:42:06 +0200 Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g56Ib9D03796 for ; Thu, 6 Jun 2002 20:37:09 +0200 Date: Thu, 06 Jun 2002 20:40:06 +0200 From: Alexander Holler To: gentoo-dev@gentoo.org Message-ID: <41410000.1023388806@krabat.ahsoftware> X-Mailer: Mulberry/2.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [gentoo-dev] kernel with xfs and exited with preempt_count msg Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: d5a092cc-68b2-4f43-8203-35bd16eea849 X-Archives-Hash: 8e5b18a8f1c0607c58ae5f071992c379 Hello, if anyone else is using xfs and a preemptible kernel and would to get rid of that "exited with preempt_count x" msgs here is a small 'quick and dirty' (1 line) patch. see http://www.geocrawler.com/mail/msg.php3?msg_id=8266691&list=35 ------------------ diff -Naur linux-2.4.19-crypto-r7.ori/kernel/exit.c linux-2.4.19-crypto-r7/kernel/exit.c --- linux-2.4.19-crypto-r7.ori/kernel/exit.c 2002-06-06 02:28:58.000000000 +0200 +++ linux-2.4.19-crypto-r7/kernel/exit.c 2002-06-06 19:11:42.000000000 +0200 @@ -491,7 +491,8 @@ del_timer_sync(&tsk->real_timer); if (unlikely(preempt_get_count())) - printk(KERN_ERR "%s[%d] exited with preempt_count %d\n", + if(preempt_get_count()<0) + printk(KERN_ERR "%s[%d] exited with preempt_count %d\n", current->comm, current->pid, preempt_get_count()); ------------------ I've used this because I got an error when I've tried to disable the 'preemtible Kernel' option. Alexander PS: The crypto kernel is missing as choice in the installation instructions on gentoo.org.