From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B43C045F26; Mon, 23 Dec 2024 22:30:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D60C4029C; Mon, 23 Dec 2024 22:30:07 +0100 (CET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 3A19840263 for ; Mon, 23 Dec 2024 22:30:05 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-218c8aca5f1so49852805ad.0 for ; Mon, 23 Dec 2024 13:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734989404; x=1735594204; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=mAMnA9FVrDeulUzdJHBXMoFTPEBW/86Vx/zYLYt9Fug=; b=St0KPrdSZhaBcTkSxg4aFQSzu9YQaDKdpOK8gFmGRrkg7QBR2OEJeY/Qy7vk5jzOqv iFCr22p/YZz8zpjWT5GvLQWklStr1rbGjLzedem0tgJCWmTYR03NZkuaxSOjO28cTXsX WfO92Dhpx+tWfRpqPxlkFbWspiEqbKsWOcr2BWUUVadnjWxMfxmbDWia5M2ObhnWltZM aw7IgLW7c+IJnfSCJth+ke+uhA5lpLowRG/YodP1Gk4ZJaU1iJguy4Dx6Ep/C6709jwy Yvx5MdapkgYHQQTMg2klIvmQxNo71a3BwIiiQfM1lw1NHlRoV2Gb4GQ8kdG1DByiX4GE aVIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734989404; x=1735594204; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mAMnA9FVrDeulUzdJHBXMoFTPEBW/86Vx/zYLYt9Fug=; b=hH/3I/+qdAwG4WAZUkxfr6KcK8l7fGN9wRtUcVnUl2ipJCb5pFyNq2oqMfx/z3pzAm t0KrN0qmuVOXVwCAlZrgyCe0YKg4JEk4UWQ6eBKNvpYA3gN+lyrFJBqenlefRNz4l6x4 +aIC7+YK8AzgQl8uBJK55M67rBO8t9ig7rifUgW5TeLd5JgEekG/PJcN+IBbEMnhNVdc QkMfMQTdwTb9IrHgKURus/zbB9ooyYxf4Xi8eb/R4Gfe1c5MCVJ/MVs7QiZj+DypGg6R qs2RAF7ZqF0+EcvYHdgegVUFuHBcZoh0noLySTqT8+xwwFQi8klnj7UCZXI+rUv23vSl RdJQ== X-Forwarded-Encrypted: i=1; AJvYcCU8cQhJo227JfaStdQMC133HbC63+1KwVAIvDqqXVHqtyP1kKnhRsGslemjSKqv5AKBbgQ=@dpdk.org X-Gm-Message-State: AOJu0YyVLSJQDQt3UKHHRO7+Sity/tLcyycUgOhxqwhYYub2VNgkoc1b vBTrEbhdqaspNzRMcQgJy9OMKVaC+fVyHJ3V32WfZA94MMTtEHvigfe8k7BB5Tw= X-Gm-Gg: ASbGncsYYYkL+SqOJQFJFsmM6Wxgkn1dIwk84MfTLfVhDp8Snd5US6MEFDevBSZ+Dfy cvcSWFOt7IsDOS3064PaICAertHtZvyAgvddbkMibz4+DgN/F+W5GiVsdwbE1rL8lsxA9aFxl+y huZEOTeV64RDOtYnVsLsFV2PvNGago+JHJqGx25iQ9dgHrYz9iOcmuxxbmfx9jMGDhS3Zecutk4 F+T+lsOZaRLiPC7PAIHpqJbDP79cMMZ0bnQctQfJuuvetdO7+L0WBcg0QQNRoKkt2q7dp+snbcR ueje/nfJl9gB X-Google-Smtp-Source: AGHT+IHxEe1SNdfFjtE7bBXBTnnGzPVb5H9hvTDG563DhQfemd5JNZyxEYLxs9N0xISuGDvA0a3Ymw== X-Received: by 2002:a17:903:2449:b0:215:3a42:dc17 with SMTP id d9443c01a7336-219e6e8bbabmr177931315ad.7.1734989404279; Mon, 23 Dec 2024 13:30:04 -0800 (PST) Received: from fedora (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842dd089089sm7691026a12.58.2024.12.23.13.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2024 13:30:03 -0800 (PST) Date: Mon, 23 Dec 2024 13:30:00 -0800 From: Stephen Hemminger To: Andre Muezerie Cc: Vladimir Medvedkin , dev@dpdk.org Subject: Re: [PATCH] app/test: fix stack overflow in fib6_perf_autotest Message-ID: <20241223133000.0a761f5a@fedora> In-Reply-To: <1734988233-20208-1-git-send-email-andremue@linux.microsoft.com> References: <1734988233-20208-1-git-send-email-andremue@linux.microsoft.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 23 Dec 2024 13:10:33 -0800 Andre Muezerie wrote: > From: Andre Muezerie > To: Vladimir Medvedkin > Cc: dev@dpdk.org, Andre Muezerie > Subject: [PATCH] app/test: fix stack overflow in fib6_perf_autotest > Date: Mon, 23 Dec 2024 13:10:33 -0800 > X-Mailer: git-send-email 1.8.3.1 > > Test fib6_perf_autotest was hitting a stack overflow on Windows > with MSVC. > > The fix is to move some of the data from the stack to the heap. > > Signed-off-by: Andre Muezerie Use regular malloc please. rte_malloc comes from hugepages which are more limited and slower to manipulate.