Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Apr 2002 12:34:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Apr 2002 12:34:45 -0400 Received: from [62.221.7.202] ([62.221.7.202]:62602 "EHLO wagner.rustcorp.com.au") by vger.kernel.org with ESMTP id ; Wed, 10 Apr 2002 12:34:44 -0400 From: Rusty Russell To: frankeh@watson.ibm.com Cc: linux-kernel@vger.kernel.org, Martin.Wirth@dlr.de, pwaechler@loewe-Komp.de, drepper@redhat.com Subject: Re: [PATCH] Futex Generalization Patch In-Reply-To: Your message of "Wed, 10 Apr 2002 10:24:42 -0400." <20020410152354.169FF3FE06@smtp.linux.ibm.com> Date: Thu, 11 Apr 2002 02:37:57 +1000 Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In message <20020410152354.169FF3FE06@smtp.linux.ibm.com> you write: > Enclosed is an "asynchronous" extension to futexes. Wow... I never thought of that. Cool! My main concern is the DoS of multiple kmallocs. Alan Cox suggested tying it to an fd (ie. naturally limited), and I think this might work (I don't know much about async io). ie. (int)utime is the fd to wake up, and then it can be used for async io OR a poll/select interface using existing infrastructure. Probably it has to be a special fd (/dev/futex?). Thoughts? Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/