Re: kmalloc size limit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 19-Aug-2016, at 11:51 pm, Muni Sekhar <munisekharrms@xxxxxxxxx> wrote:
> 
> Hi All,
> 
> I would like to know what is the maximum size limit for kmalloc() API
> to return a valid memory?

AFAIK, on x86 the largest allocation is 1024 pages. It boils down to 4MB.

> Does the size limit varies based on the flags argument?
> 
> 
> -- 
> Thanks,
> Sekhar
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux