Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752633AbZIQPDZ (ORCPT ); Thu, 17 Sep 2009 11:03:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752263AbZIQPDY (ORCPT ); Thu, 17 Sep 2009 11:03:24 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:50059 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbZIQPDX (ORCPT ); Thu, 17 Sep 2009 11:03:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAITssUqrR7MV/2dsb2JhbADGYohOAZA4BYQY X-IronPort-AV: E=Sophos;i="4.44,404,1249257600"; d="scan'208";a="390685556" From: Roland Dreier To: Peter Zijlstra Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mackerras , Anton Blanchard , general@lists.openfabrics.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, Ingo Molnar Subject: Re: [ofa-general] Re: [GIT PULL] please pull ummunotify References: <1253187028.8439.2.camel@twins> <1253198976.14935.27.camel@laptop> X-Message-Flag: Warning: May contain useful information Date: Thu, 17 Sep 2009 08:03:25 -0700 In-Reply-To: <1253198976.14935.27.camel@laptop> (Peter Zijlstra's message of "Thu, 17 Sep 2009 16:49:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 17 Sep 2009 15:03:25.0695 (UTC) FILETIME=[01C128F0:01CA37A8] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 598 Lines: 15 > Hmm, or are you saying you can only get 1 event per registered range and > allocate the thing on registration? That'd need some registration limit > to avoid DoS scenarios. Yes, that's what I do. You're right, I should add a limit... although their are lots of ways for userspace to consume arbitrary amounts of kernel resources already. - R. -- 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/