lkml.org 
[lkml]   [2016]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.043 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site