Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753835AbaG3Olh (ORCPT ); Wed, 30 Jul 2014 10:41:37 -0400 Received: from esgaroth.petrovitsch.at ([78.47.184.11]:3320 "EHLO esgaroth.tuxoid.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbaG3Olg (ORCPT ); Wed, 30 Jul 2014 10:41:36 -0400 Subject: Re: [PATCH -v4] random: introduce getrandom(2) system call From: Bernd Petrovitsch To: Bob Beck Cc: Pavel Machek , "Theodore Ts'o" , linux-kernel , linux-api@vger.kernel.org, linux-crypto , Theo de Raadt Date: Wed, 30 Jul 2014 16:40:52 +0200 In-Reply-To: References: <1405718127-30042-1-git-send-email-tytso@mit.edu> <20140730122620.GC13965@amd.pavel.ucw.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.3 (3.0.3-1.fc15) Content-Transfer-Encoding: 7bit Message-ID: <1406731254.26034.4.camel@thorin> Mime-Version: 1.0 X-DCC-wuwien-Metrics: esgaroth.tuxoid.at 1290; Body=7 Fuz1=7 Fuz2=7 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.2 AWL AWL: From: address is in the auto white-list Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mit, 2014-07-30 at 07:56 -0600, Bob Beck wrote: > Pavel. I have bit 'ol enterprise daemon running with established file > descriptors serving thousands of connections > which periodically require entropy. Now I run out of descriptors. I > can't establish new connections. but I should > now halt all the other ones that require entropy? I should raise > SIGKILL on my process serving these thousands > of connetions? I don't think so. If that long-running daemon periodically needs something from a device, one would better keep the fd for that open the whole time. Saves some CPU cycles and latency too BTW. Bernd -- "I dislike type abstraction if it has no real reason. And saving on typing is not a good reason - if your typing speed is the main issue when you're coding, you're doing something seriously wrong." - Linus Torvalds -- 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/