Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750818AbWATKva (ORCPT ); Fri, 20 Jan 2006 05:51:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750816AbWATKva (ORCPT ); Fri, 20 Jan 2006 05:51:30 -0500 Received: from general.keba.co.at ([193.154.24.243]:16030 "EHLO helga.keba.co.at") by vger.kernel.org with ESMTP id S1750811AbWATKv3 convert rfc822-to-8bit (ORCPT ); Fri, 20 Jan 2006 05:51:29 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: My vote against eepro* removal Date: Fri, 20 Jan 2006 11:51:23 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: My vote against eepro* removal Thread-Index: AcYdp8DxqCun3HYgSmiAwfGXsfGs7AABq5ug From: "kus Kusche Klaus" To: "Evgeniy Polyakov" Cc: "John Ronciak" , "Adrian Bunk" , "Lee Revell" , , , , , , "Steven Rostedt" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1235 Lines: 31 From: Evgeniy Polyakov [mailto:johnpol@2ka.mipt.ru] > Each MDIO read can take upto 2 msecs (!) and at least 20 > usecs in e100, > and this runs in timer handler. > Concider attaching (only compile tested) patch which moves > e100 watchdog > into workqueue. Tested the patch. Works and has the expected effects: Fully preemptible kernel: No change: 500 us delay at rtprio 1, no delay at higher rtprio. (you just moved the 500 us piece of code from one rtprio 1 kernel thread to another rtprio 1 kernel thread). Kernel with desktop preemption: Originally: Threads at any rtprio suffered from 500 us delay. With your patch: Only rtprio 1 threads suffer from 500 us delay, no delay at higher rtprio. -- Klaus Kusche (Software Development - Control Systems) KEBA AG Gewerbepark Urfahr, A-4041 Linz, Austria (Europe) Tel: +43 / 732 / 7090-3120 Fax: +43 / 732 / 7090-6301 E-Mail: kus@keba.com WWW: www.keba.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/