Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755754AbXJaRdT (ORCPT ); Wed, 31 Oct 2007 13:33:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752446AbXJaRdM (ORCPT ); Wed, 31 Oct 2007 13:33:12 -0400 Received: from cantor.suse.de ([195.135.220.2]:35463 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752117AbXJaRdL (ORCPT ); Wed, 31 Oct 2007 13:33:11 -0400 To: "Dmitry Torokhov" Cc: "Andi Kleen" , Ram , linux-kernel@vger.kernel.org Subject: Re: kernel processes - are they really needed? From: Andi Kleen References: <8bf247760710240637w686f1a2fxdf63a649787eca25@mail.gmail.com> Date: Wed, 31 Oct 2007 18:33:07 +0100 In-Reply-To: (Dmitry Torokhov's message of "Wed\, 31 Oct 2007 12\:35\:31 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 26 "Dmitry Torokhov" writes: > On 10/24/07, Andi Kleen wrote: >> >> My favourite for a ridiculous thread was and is "kpsmoused" >> > > Mouse querying can take significant amount of time. Do you really want > all your other events to be delayed just because kernel tries to get > mouse back in order? How long? > > Although I probably want to kill it if mouse resync is disabled... How often does that happen? Can't you just start a thread for this as needed? Or if it's a simple algorithm you can just use a state machine using timers? -Andi - 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/