Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Aug 2002 11:48:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Aug 2002 11:48:00 -0400 Received: from [62.40.73.125] ([62.40.73.125]:31701 "HELO Router") by vger.kernel.org with SMTP id ; Mon, 12 Aug 2002 11:47:59 -0400 Date: Mon, 12 Aug 2002 17:51:30 +0200 From: Jan Hudec To: daniel sheltraw Cc: linux-kernel@vger.kernel.org Subject: Re: kernel to user-space communication Message-ID: <20020812155130.GE14305@vagabond> Mail-Followup-To: Jan Hudec , daniel sheltraw , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 800 Lines: 16 On Mon, Aug 12, 2002 at 10:40:27AM -0500, daniel sheltraw wrote: > Is there a way to comminicate to a user-space program that an > interrupt has occurred in a kernel module? You can send a signal or you can create a device for a process to wait on in poll or blocking read. Signals have quite high overhead because of the need to save state, so device will be faster (it's faster even if the process shoul clone a thread to handle it). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec - 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/