> 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