Received: by 10.223.185.116 with SMTP id b49csp1983832wrg; Thu, 22 Feb 2018 06:26:44 -0800 (PST) X-Google-Smtp-Source: AH8x225nJ3JM9DchKsMapVWAE8zEdQ+cQXMU3b4tsz19hBUB0LkkCsSJo72nX+6lPUbqyYJRItoB X-Received: by 2002:a17:902:b901:: with SMTP id bf1-v6mr290495plb.175.1519309604602; Thu, 22 Feb 2018 06:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519309604; cv=none; d=google.com; s=arc-20160816; b=fEW27YAJspdnVK7g/gL0Znz1JrI0Ou+Da2Eo3NUXkF5D5yho/AxYkxWY81nrr/9WJ0 ZjStUYzUiaE/FLj/+Etow+0eB1rf4N29ySBzkyRDA6PERKb2HtCbHl/o9yMa3vh+uM4q sImc68tyVSEfzJKrWyA56/m4fZRWArDxOy2O+GHSuuyftKTA9/BEE3l2lySHSC5rjg/U dXMPg5WxNbs9/gLyciybTPmJT13XMTVdXjiI/WgG8B6O7aMkWwn35CKtUZnHp5vo7AiN ZN9Iaiwy+p4NLgG30JkFmDRKbY2DaA5npvwxGiDle1u4uQsYXzK8s7/pIz4/OhGY+tlE hL2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=/lTD2vfwTFAvP4CEowtkHZXF6Nle5rIaSRYAfc4Cde4=; b=PqHjClwyFViogiNYqIa7KX+r3mjQIa6L55cB9rclHyJxmfTEOvtxfzIuJl86giZZEo HG0rlyOoDGEFRqA1ped90+jyjXpa8Wi2Fak2Avfzjg/1F6Z1x3LBrz/eXRlkX7dlLJs5 Om7B7Ib59cgdmE8MdkOameqyfdyxswxy3TvGML3Lk7zPgx9uwDmOI0T3cKvDyEdV6JBG GiYNT9ExTmFsjZ33H3QR5Y84iJNHrsQBXWlQ9O8skXSlZkWdyYwQPeJ2NH6mTAJcRQvg kN+lD1e7c6wfAVYGNsepSILWUAzNe/rgoOfjNZb4Fc3Pho1kb/sn2g/aFGA7BkECj06N 7K+g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a61-v6si111388pla.689.2018.02.22.06.26.29; Thu, 22 Feb 2018 06:26:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932930AbeBVOZO (ORCPT + 99 others); Thu, 22 Feb 2018 09:25:14 -0500 Received: from www62.your-server.de ([213.133.104.62]:52730 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932564AbeBVOZM (ORCPT ); Thu, 22 Feb 2018 09:25:12 -0500 Received: from [62.202.221.135] (helo=linux.home) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.85_2) (envelope-from ) id 1eoro3-0000xM-OH; Thu, 22 Feb 2018 15:25:07 +0100 Subject: Re: [PATCH v2] selftests/bpf/test_maps: exit child process without error in ENOMEM case To: Li Zhijian , shuah@kernel.org, ast@kernel.org, netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Li Zhijian , Alexei Starovoitov , Philip Li References: <1519266842-29004-1-git-send-email-lizhijian@cn.fujitsu.com> From: Daniel Borkmann Message-ID: Date: Thu, 22 Feb 2018 15:25:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1519266842-29004-1-git-send-email-lizhijian@cn.fujitsu.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.99.3/24338/Thu Feb 22 10:20:01 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22/2018 03:34 AM, Li Zhijian wrote: > From: Li Zhijian > > test_maps contains a series of stress tests, and previously it will break the > rest tests when it failed to alloc memory. > ----------------------- > Failed to create hashmap key=8 value=262144 'Cannot allocate memory' > Failed to create hashmap key=16 value=262144 'Cannot allocate memory' > Failed to create hashmap key=8 value=262144 'Cannot allocate memory' > Failed to create hashmap key=8 value=262144 'Cannot allocate memory' > test_maps: test_maps.c:955: run_parallel: Assertion `status == 0' failed. > Aborted > not ok 1..3 selftests: test_maps [FAIL] > ----------------------- > after this patch, the rest tests will be continue when it occurs an ENOMEM failure > > CC: Alexei Starovoitov > CC: Philip Li > Suggested-by: Daniel Borkmann > Signed-off-by: Li Zhijian Applied to bpf tree, thanks Li!