Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466609 > unrolled thread

kmalloc size limit?

Started byMuni Sekhar <munisekharrms@gmail.com>
First post2016-08-19 20:40 +0200
Last post2016-08-22 15:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  kmalloc size limit? Muni Sekhar <munisekharrms@gmail.com> - 2016-08-19 20:40 +0200
    Re: kmalloc size limit? Michal Hocko <mhocko@kernel.org> - 2016-08-22 14:20 +0200
      Re: kmalloc size limit? Muni Sekhar <munisekharrms@gmail.com> - 2016-08-22 15:10 +0200

#1466609 — kmalloc size limit?

FromMuni Sekhar <munisekharrms@gmail.com>
Date2016-08-19 20:40 +0200
Subjectkmalloc size limit?
Message-ID<s7WRY-HP-17@gated-at.bofh.it>
Hi All,

I would like to know what is the maximum size limit for kmalloc() API
to return a valid memory?

Does the size limit varies based on the flags argument?


-- 
Thanks,
Sekhar

[toc] | [next] | [standalone]


#1467578

FromMichal Hocko <mhocko@kernel.org>
Date2016-08-22 14:20 +0200
Message-ID<s8WmS-6aC-9@gated-at.bofh.it>
In reply to#1466609
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

[toc] | [prev] | [next] | [standalone]


#1467607

FromMuni Sekhar <munisekharrms@gmail.com>
Date2016-08-22 15:10 +0200
Message-ID<s8X9g-6I9-33@gated-at.bofh.it>
In reply to#1467578
On Mon, Aug 22, 2016 at 5:42 PM, Michal Hocko <mhocko@kernel.org> wrote:
> 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
Thanks Michal.

>
>> 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



-- 
Thanks,
Sekhar

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web