Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp949565imp; Wed, 20 Feb 2019 12:06:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IYwHCvK+UG6gE/PGaVoJpmulJ03+H89riu6ZljJriCiCrAYfck9IwoSCmPr4xT74T02JNXJ X-Received: by 2002:a63:e451:: with SMTP id i17mr34551991pgk.413.1550693177693; Wed, 20 Feb 2019 12:06:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550693177; cv=none; d=google.com; s=arc-20160816; b=UjSWrnaZe/V6a7ZI/OQpwe0a3c30p6A6k3Ri6MOVqw7YnwptE8DEBUI4S2N5qLG8xx HSWme6L6Le+mY7gL/MwbclluOUcej+SMdWOtM8ifKvjgmOEnAtK2gMRST95Sk6IEzGOx GwYyZ+PqS4f47Fj4lKFpRX42HQZ8W9putj1oqeNy5LwX5FZ53kWer/dCN4GwjmnVCMHq CUl6LEuJNr44pRZS4IDJzANokJhpABKktgBIXsTI2omlI+LP/AkpGAeZ0faNANIL0WzC Ee0ACHQobq34371FdO35+q+LBEJlhS/K+ndprhzYEMhAQgGWVyfWCsp4iTAsq4xtUDP+ npow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:subject:cc:to:from:date; bh=rcV3MzIrakmaDfQe/xwW3fosq2dXBrLpoQa7waS75FE=; b=F0W8BaYWq+UiFjMwzDBPtks88fmaAx/pdxvcqUpZbvHx+6TKPuJ70GR3Juk3tItSIb 0Ma0fztcOzU7i8Mv8IdA0FBcr5ij4Q8q3cpdRCH/s5FZR1FDOvJsWN6Q/7saShCxNo7y T/DG/Tqc1G9V+Qbxt7Fc6m0ez4qMjzt8EOQdthnTVmvQilLO9ghpbhmi7HgSwv/dufzI s3KAkqUBmRdqlWTPP4D+waSqMtD3ymSJGBQpUSpVd0Yaht6btise9hcO0FnVleT8tuvb SBtWEXCqSOlOsd65i7lIU+3OV2hn5F3glbHjEUuTs0X33rIPVkloWXEEA/ObvayJkTWw lXSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l61si21094966plb.6.2019.02.20.12.06.02; Wed, 20 Feb 2019 12:06:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726586AbfBTUEI (ORCPT + 99 others); Wed, 20 Feb 2019 15:04:08 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39514 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbfBTUEH (ORCPT ); Wed, 20 Feb 2019 15:04:07 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1KJwh2H122648 for ; Wed, 20 Feb 2019 15:04:06 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qscjak0ts-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Feb 2019 15:04:06 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Feb 2019 20:04:04 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 20 Feb 2019 20:04:02 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1KK414V54395064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Feb 2019 20:04:01 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 37BF7AE051; Wed, 20 Feb 2019 20:04:01 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 22DC7AE045; Wed, 20 Feb 2019 20:04:01 +0000 (GMT) Received: from t480-pf1aa2c2 (unknown [9.145.183.227]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 20 Feb 2019 20:04:01 +0000 (GMT) Received: from bblock by t480-pf1aa2c2 with local (Exim 4.91) (envelope-from ) id 1gwY64-000863-4N; Wed, 20 Feb 2019 21:04:00 +0100 Date: Wed, 20 Feb 2019 21:03:59 +0100 From: Benjamin Block To: Bart Van Assche Cc: "James E . J . Bottomley" , "Martin K . Petersen" , Steffen Maier , linux-scsi@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: replace GFP_ATOMIC with GFP_KERNEL for sdev allocation References: <20190220184847.24640-1-bblock@linux.ibm.com> <1550689891.93548.31.camel@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1550689891.93548.31.camel@acm.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-TM-AS-GCONF: 00 x-cbid: 19022020-0008-0000-0000-000002C2E0E8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19022020-0009-0000-0000-0000222F18F8 Message-Id: <20190220200359.GB3731@t480-pf1aa2c2> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-20_15:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=860 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902200137 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 11:11:31AM -0800, Bart Van Assche wrote: > On Wed, 2019-02-20 at 19:48 +0100, Benjamin Block wrote: > > We had a test-report where, under memory pressure, adding LUNs to the > > systems would fail (the tests add LUNs strictly in sequence): > > Hi Benjamin, > > There are two more instances of GFP_ATOMIC in scsi_scan.c. Have you verified > whether or not it is safe to change these into GFP_KERNEL too? > No, I was lazy, but I can take a look tomorrow and fix them up as well if they are similar to scsi_alloc_sdev(). -- With Best Regards, Benjamin Block / Linux on IBM Z Kernel Development IBM Systems & Technology Group / IBM Deutschland Research & Development GmbH Vorsitz. AufsR.: Matthias Hartmann / Gesch?ftsf?hrung: Dirk Wittkopp Sitz der Gesellschaft: B?blingen / Registergericht: AmtsG Stuttgart, HRB 243294