From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by dpdk.org (Postfix) with ESMTP id B88D81B480 for ; Mon, 22 Oct 2018 22:58:34 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id w3-v6so4032745pgs.11 for ; Mon, 22 Oct 2018 13:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8rHl3byXn4SOfP2pRZKIM/nyNIxJqeXuI1gEMejEh4g=; b=OWwe/w57AthV6jcg34V4EwOwRTRqiD1BT+5bKnI+tNbdSEK3WZTN1FxloNPZfGzyB0 ujJY30SWq6mz9LboDzy9SjTg+xDz1rm2XtM6ZZzzFFIRqnOag2Z0r8xDZxG4Hxs3vPZy yz9H0o1wQEFX2OMeXTEerSPpkFI5075jRjd8xZ11FGGLjjmJiAC3gtfh2BMjGViLHFLW KCFrYbpcNI0ThwedBaFycmAnjWPyad/rjbE+ssZmChO5TAUhcg0s7CK+DAHm/rU+fnCA Ofe5UBZvVH6D+igtJiuHjLzN1OxBzseftggDii6kCFbQZKoxzR2fAkke+lN5HiqWNXle tTDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8rHl3byXn4SOfP2pRZKIM/nyNIxJqeXuI1gEMejEh4g=; b=SpHXqT2LT+2E+2T1L3ENvbiQs+0YW/Plv7XVH/IesJtbym2Gabid5k2XVg9t5tpmnM 6Yqm/D264JcJaXVgwWuXkj3/PCKcDVmZCJ+pkhpkoIZ6F52V2SsgfXEhiY9WMD6N6YLK rYLQiJA8yPfuArr2Zm+3EoLRiSpcwpr7VyVM18yfwqTf6Zbb42m9smNJxdhL6OqbOBRC ydr0WI5YejHLt5kZO7Tfs7tLcADgAS2Xy5gGj2lf7Gi747yhH9EQC5q8LojJ1wIuAW+7 uMudrS8RhZaX7TohMdQIjgtrnCqI3O7nfA/zbI02hFMWZeh6CcY41Wq9JCD4ahzpv1zi QLwA== X-Gm-Message-State: ABuFfoie8hetGoAfj6soBCavtMy4zCIxPYsPp0FSkOv7F4CAYtaWqwUn 4NkhpHQ+jdEDupAsPoN32mjAy8LXRe06LeZrab8dwsAV X-Google-Smtp-Source: ACcGV63ueHzXs0Eind64zxXH8iZaxDCI5iqlLjQ12JVd50usw1lgige8O6ftCKCctSq/1aXU4kGOfrmpyDe1GpHr46E= X-Received: by 2002:a62:1dca:: with SMTP id d193-v6mr46370874pfd.157.1540241913472; Mon, 22 Oct 2018 13:58:33 -0700 (PDT) MIME-Version: 1.0 From: Avinash Chaurasia Date: Tue, 23 Oct 2018 02:38:03 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Memory allocation in dpdk at basic level X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2018 20:58:35 -0000 Hello, I am not sure whether this is right list for posting this problem. I am trying to understand how dpdk allocate memory. I tried digging code to understand memory allocation of DPDK. So far I understood that memory is allocated from a heap that dpdk maintains. However, this heap must be allocated at some place. I failed to traceback any function (called from heap_alloc()) that calls mmap to allocate memory. Please let me know when this heap is created, which function call does that. Thanks Avinash