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: <20160822121233.GD14916@dhcp22.suse.cz>
Date:   Mon, 22 Aug 2016 14:12:33 +0200
From:   Michal Hocko <mhocko@...nel.org>
To:     Muni Sekhar <munisekharrms@...il.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: kmalloc size limit?

On Sat 20-08-16 00:09:53, Muni Sekhar wrote:
> Hi All,
> 
> I would like to know what is the maximum size limit for kmalloc() API
> to return a valid memory?

KMALLOC_MAX_CACHE_SIZE

> Does the size limit varies based on the flags argument?

no but different flags can greatly influence how succesful such an
allocation can be.
-- 
Michal Hocko
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ