Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Feb 2002 17:46:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Feb 2002 17:46:43 -0500 Received: from smtp1.vol.cz ([195.250.128.73]:2574 "EHLO smtp1.vol.cz") by vger.kernel.org with ESMTP id ; Wed, 6 Feb 2002 17:46:23 -0500 Date: Wed, 6 Feb 2002 14:22:59 +0000 From: Pavel Machek To: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org Subject: Re: Asynchronous CDROM Events in Userland Message-ID: <20020206142259.A37@toy.ucw.cz> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from hpa@zytor.com on Sun, Feb 03, 2002 at 09:07:24PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > Rather than a signal, it should be a file descriptor of some sort, so > one can select() etc on it. Personally I can't imagine polling would > take any appreciable amount of resources, though. It may not eat CPU but it will definitely eat memory... Because polling means deamon that normally could be swapped out needs to stay in memory. Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. - 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/