From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764165AbYEOUBw (ORCPT ); Thu, 15 May 2008 16:01:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760485AbYEOUBl (ORCPT ); Thu, 15 May 2008 16:01:41 -0400 Received: from wr-out-0506.google.com ([64.233.184.235]:22478 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754602AbYEOUBi (ORCPT ); Thu, 15 May 2008 16:01:38 -0400 Message-ID: Date: Thu, 15 May 2008 13:01:36 -0700 From: "Chris Peterson" To: "Jeff Garzik" Subject: Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM Cc: "Kok, Auke" , "Rick Jones" , "Brandeburg, Jesse" , "Alan Cox" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <482C8D4D.3040702@garzik.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080515142154.0595e475@core> <36D9DB17C6DE9E40B059440DB8D95F52052D71BB@orsmsx418.amr.corp.intel.com> <482C7B18.6060003@garzik.org> <482C7E53.3050300@hp.com> <482C8184.2030906@garzik.org> <482C8550.5000909@intel.com> <482C8D4D.3040702@garzik.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please correct me if I'm wrong, but this thread's conclusions seem to be: * network interrupts are an inappropriate source of entropy (see my patch) * headless servers need entropy, but should seek a better solution, such as EGD, hardware RNG, or other kernel entropy sources (but that is a separate task) * TPM RNG is a separate task and, if implemented, should be in drivers/char/hw_random/ chris On Thu, May 15, 2008 at 12:21 PM, Jeff Garzik wrote: > Kok, Auke wrote: >> >> How about the non-NAPI and non-throttled case? I would argue that without >> any irq >> mitigation we can still use SA_RANDOM. Many (e.g. embedded) devices will >> want some > > When was the last time we added a new driver for new hardware, and it didn't > support NAPI and/or hw mitigation? They are few and far between, and > getting ever more rare. > > >> extra form of entropy, and providing them it in this form will be very >> beneficial >> as these devices more commonly have no other form of entropy anymore. > > "no other form of entropy"? See examples in this thread. > > Jeff > > >