Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161112AbWJDHcM (ORCPT ); Wed, 4 Oct 2006 03:32:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030646AbWJDHcM (ORCPT ); Wed, 4 Oct 2006 03:32:12 -0400 Received: from mx1.redhat.com ([66.187.233.31]:17379 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1030548AbWJDHcK (ORCPT ); Wed, 4 Oct 2006 03:32:10 -0400 Message-ID: <452363C5.1020505@redhat.com> Date: Wed, 04 Oct 2006 00:33:25 -0700 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Evgeniy Polyakov CC: Ulrich Drepper , lkml , David Miller , Andrew Morton , netdev , Zach Brown , Christoph Hellwig , Chase Venters Subject: Re: [take19 0/4] kevent: Generic event handling mechanism. References: <115a6230591036@2ka.mipt.ru> <11587449471424@2ka.mipt.ru> <20060927150957.GA18116@2ka.mipt.ru> <20061004045527.GB32267@2ka.mipt.ru> In-Reply-To: <20061004045527.GB32267@2ka.mipt.ru> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2C7F6BDD534D56E271BDC5B4" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1843 Lines: 46 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2C7F6BDD534D56E271BDC5B4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Evgeniy Polyakov wrote: > When we enter sys_ppoll() we specify needed signals as syscall > parameter, with kevents we will add them into the queue. No, this is not sufficient as I said in the last mail. Why do you completely ignore what others say. The code which depends on the signal does not have to have access to the event queue. If a library sets up an interrupt handler then it expect the signal to be delivered this way. In such situations ppoll etc allow the signal to be generally blocked and enabled only and *ATOMICALLY* around the delays. This is not possible with the current wait interface. We need this signal mask interfaces and the appropriate setup code. Being able to get signal notifications does not mean this is always the way it can and must happen. --=20 =E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 Castro St = =E2=9E=A7 Mountain View, CA =E2=9D=96 --------------enig2C7F6BDD534D56E271BDC5B4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFI2PF2ijCOnn/RHQRAk+TAKC6jf1yoYInqCZc7OZMeDj2oKptRACbBC7j rrtN99wYR8Iu9QQrqtd+aqg= =/HVc -----END PGP SIGNATURE----- --------------enig2C7F6BDD534D56E271BDC5B4-- - 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/