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] [day] [month] [year] [list]
Message-ID: <CAGZFCEHG60UQLzV=tkVO44aZSZdXCG=xh26aY3r1E6h_wBMNyA@mail.gmail.com>
Date:	Fri, 21 Mar 2014 12:06:19 +0530
From:	ratheesh kannoth <ratheesh.ksz@...il.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: alloc_skb from huge memory

On Fri, Mar 21, 2014 at 10:44 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> 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
>

my bad. it is huge pages( what i meant is huge pages; not huge memory ).

I would like to mmap  and use.
--
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