Message ID | 20180717045829.3211-5-stewart@linux.ibm.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41V7Np4zLlz9s0n for <incoming@patchwork.ozlabs.org>; Tue, 17 Jul 2018 14:59:22 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41V7Np3fLSzF3JY for <incoming@patchwork.ozlabs.org>; Tue, 17 Jul 2018 14:59:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=stewart@linux.ibm.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41V7N44tLkzF3Hc for <skiboot@lists.ozlabs.org>; Tue, 17 Jul 2018 14:58:44 +1000 (AEST) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6H4nUXF001005 for <skiboot@lists.ozlabs.org>; Tue, 17 Jul 2018 00:58:42 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2k94a322vs-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <skiboot@lists.ozlabs.org>; Tue, 17 Jul 2018 00:58:42 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <skiboot@lists.ozlabs.org> from <stewart@linux.ibm.com>; Mon, 16 Jul 2018 22:58:41 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 16 Jul 2018 22:58:38 -0600 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6H4wc2k12583228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 16 Jul 2018 21:58:38 -0700 Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE9236E050; Mon, 16 Jul 2018 22:58:37 -0600 (MDT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4EE6C6E04C; Mon, 16 Jul 2018 22:58:37 -0600 (MDT) Received: from birb.localdomain (unknown [9.102.48.11]) by b03ledav001.gho.boulder.ibm.com (Postfix) with SMTP; Mon, 16 Jul 2018 22:58:37 -0600 (MDT) Received: by birb.localdomain (Postfix, from userid 1000) id D2FAD4EC6BD; Tue, 17 Jul 2018 14:58:34 +1000 (AEST) From: Stewart Smith <stewart@linux.ibm.com> To: nicholas.piggin@gmail.com, skiboot@lists.ozlabs.org Date: Tue, 17 Jul 2018 14:58:28 +1000 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180717045829.3211-1-stewart@linux.ibm.com> References: <20180628025501.20676-1-stewart@linux.ibm.com> <20180717045829.3211-1-stewart@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18071704-0012-0000-0000-0000168CF7AA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009377; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01061948; UDB=6.00545226; IPR=6.00839851; MB=3.00022165; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-17 04:58:39 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18071704-0013-0000-0000-000053B312BE Message-Id: <20180717045829.3211-5-stewart@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-07-17_01:, , 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=789 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807170047 Subject: [Skiboot] [PATCH v3 4/5] mem_region: log region name on mem_alloc failure X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
fast-reboot: parallel memory clearing
|
expand
|
diff --git a/core/mem_region.c b/core/mem_region.c index e9f289202f99..0b2961d76e1c 100644 --- a/core/mem_region.c +++ b/core/mem_region.c @@ -447,8 +447,8 @@ void *mem_alloc(struct mem_region *region, size_t size, size_t align, if (r) return r; - prerror("mem_alloc(0x%lx, 0x%lx, \"%s\") failed !\n", - size, align, location); + prerror("mem_alloc(0x%lx, 0x%lx, \"%s\", %s) failed !\n", + size, align, location, region->name); mem_dump_allocs(); return NULL; }
This can help with debugging when trying to do node local allocations. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> --- core/mem_region.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)