From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755971Ab3AEXeH (ORCPT ); Sat, 5 Jan 2013 18:34:07 -0500 Received: from linode.aoot.com ([69.164.194.13]:38769 "EHLO linode.aoot.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755898Ab3AEXeG (ORCPT ); Sat, 5 Jan 2013 18:34:06 -0500 Message-ID: <50E8B85F.9030605@opengridcomputing.com> Date: Sat, 05 Jan 2013 17:33:51 -0600 From: Steve Wise User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Akinobu Mita CC: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Roland Dreier , Sean Hefty , Hal Rosenstock , Steve Wise , linux-rdma@vger.kernel.org Subject: Re: [PATCH -v2 09/26] infiniband: rename random32() to prandom_u32() References: <1357215562-6288-1-git-send-email-akinobu.mita@gmail.com> <1357215562-6288-10-git-send-email-akinobu.mita@gmail.com> <50E5B183.4030706@opengridcomputing.com> <50E70E48.3010900@opengridcomputing.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/2013 7:37 AM, Akinobu Mita wrote: > 2013/1/5 Steve Wise : >> I'm asking: why are you bothering with renaming the functions? This seems >> like a needless change, _unless_ there are really non-pseudo-random services >> being added. > We already have get_random_byte() which is not pseudo-random number > generator. > > Apart from that, the naming scheme was confusing without "prandom" prefix. > Because I introduced new functions in the commit 6582c665 ("prandom: > introduce prandom_bytes() and prandom_bytes_state()"). Ok, thanks for the explanation.