Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754513AbZGTXzR (ORCPT ); Mon, 20 Jul 2009 19:55:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752855AbZGTXzQ (ORCPT ); Mon, 20 Jul 2009 19:55:16 -0400 Received: from solo.fdn.fr ([80.67.169.19]:36824 "EHLO solo.fdn.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754384AbZGTXzP (ORCPT ); Mon, 20 Jul 2009 19:55:15 -0400 X-Greylist: delayed 535 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Jul 2009 19:55:15 EDT Date: Tue, 21 Jul 2009 01:55:14 +0200 From: Samuel Thibault To: Alan Cox Cc: linux-kernel@vger.kernel.org, linux-console@vger.kernel.org Subject: Re: inotify on /dev/vcsa? Message-ID: <20090720235514.GT5397@const.famille.thibault.fr> Mail-Followup-To: Samuel Thibault , Alan Cox , linux-kernel@vger.kernel.org, linux-console@vger.kernel.org References: <20090720234618.GR5397@const.famille.thibault.fr> <20090721005108.574d5145@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090721005108.574d5145@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 19 Alan Cox, le Tue 21 Jul 2009 00:51:08 +0100, a ?crit : > I would have thought poll() would have been cleaner. Or perhaps extending > the VT event interface I added to the vt drivers in the current patches > pending for 2.6.32 - poll support would probably be a bit lighter as > you'd just need to do something like > > event_count++; > wake_up(&vcsa_event_wait); > > and check for a count change Sounds like a good plan indeed. Samuel -- 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/