Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752292AbeADGKG (ORCPT + 1 other); Thu, 4 Jan 2018 01:10:06 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:34662 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbeADGKF (ORCPT ); Thu, 4 Jan 2018 01:10:05 -0500 To: Himanshu Jha Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, aacraid@adaptec.com, anil.gurumurthy@qlogic.com, sudarsana.kalluru@qlogic.com, QLogic-Storage-Upstream@qlogic.com, satishkh@cisco.com, sebaddel@cisco.com, kartilak@cisco.com, QLogic-Storage-Upstream@cavium.com, qla2xxx-upstream@qlogic.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/9] scsi: qla2xxx: Use zeroing allocator rather than allocator/memset From: "Martin K. Petersen" Organization: Oracle Corporation References: <1514647712-6332-1-git-send-email-himanshujha199640@gmail.com> <1514647712-6332-3-git-send-email-himanshujha199640@gmail.com> Date: Thu, 04 Jan 2018 01:09:51 -0500 In-Reply-To: <1514647712-6332-3-git-send-email-himanshujha199640@gmail.com> (Himanshu Jha's message of "Sat, 30 Dec 2017 20:58:25 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8763 signatures=668651 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=286 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801040083 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Himanshu, > Use dma_zalloc_coherent and vzalloc instead of dma_alloc_coherent and > vmalloc respectively, followed by memset 0. Applied to 4.16/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering