From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: kmalloc size limit?
Date: Sat, 20 Aug 2016 11:47:38 +0200 [thread overview]
Message-ID: <20160820094738.GC25439@kroah.com> (raw)
In-Reply-To: <CAHhAz+iqK4TVuhErFtzmDRpeLDUUwmC9pLu5=TGpeB1+nAQO9g@mail.gmail.com>
On Fri, Aug 19, 2016 at 11:51:18PM +0530, Muni Sekhar wrote:
> Hi All,
>
> I would like to know what is the maximum size limit for kmalloc() API
> to return a valid memory?
Depends on the system :)
Why, what are you trying to use large amounts of memory for?
> Does the size limit varies based on the flags argument?
Yes it can.
sorry for being vague, but the questions were really vague...
greg k-h
next prev parent reply other threads:[~2016-08-20 9:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 18:21 kmalloc size limit? Muni Sekhar
2016-08-20 9:47 ` Greg KH [this message]
2016-08-21 9:53 ` arshad hussain
-- strict thread matches above, loose matches on Subject: below --
2016-08-19 18:39 Muni Sekhar
2016-08-22 12:12 ` Michal Hocko
2016-08-22 13:04 ` Muni Sekhar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160820094738.GC25439@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.