lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ