[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1395378886.9114.124.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 20 Mar 2014 22:14:46 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: ratheesh kannoth <ratheesh.ksz@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: alloc_skb from huge memory
On Fri, 2014-03-21 at 10:21 +0530, ratheesh kannoth wrote:
> alloc_skb does allocation from slub. memory slab could be
> kmalloc_1024 or kmalloc_512 ( And there is no skb slab. i could not
> find in /proc/slabinfo ).
>
> Is there any way to allocate skb from huge memory or pre allocated pages ?
What would be the usage ?
In the kernel, almost all memory is mapped to huge pages anyway.
$ tail -3 /proc/meminfo
DirectMap4k: 4096 kB
DirectMap2M: 2084864 kB
DirectMap1G: 266338304 kB
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists