From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: tingwei liu <tingw.liu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How many params can be accept by kernel module at most?
Date: Mon, 1 Nov 2010 17:29:47 +0800 [thread overview]
Message-ID: <20101101092947.GB6023@cr0.nay.redhat.com> (raw)
In-Reply-To: <AANLkTikfW7QfXX76JM=pDYuQYexPvQz3hrAE=B3YMD5x@mail.gmail.com>
On Mon, Nov 01, 2010 at 02:17:23PM +0800, tingwei liu wrote:
>How many params can be accept by kernel module at most?
If you mean dynamically, these parameters are passed as a whole to kernel,
from the source code, you can see the max length is ~0UL>>1.
If you mean statically, IOW, the max paramenters you can provide in your module,
this is limited by ELF section size.
Hope this helps.
next prev parent reply other threads:[~2010-11-01 9:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 6:17 tingwei liu
2010-11-01 9:29 ` Américo Wang [this message]
2010-11-01 9:32 ` tingwei liu
2010-11-01 9:49 ` tingwei liu
2010-11-01 9:54 ` tingwei liu
2010-11-01 9:59 ` Américo Wang
2010-11-01 13:42 ` tingwei liu
2010-11-02 1:40 ` Thiago Farina
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=20101101092947.GB6023@cr0.nay.redhat.com \
--to=xiyou.wangcong@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tingw.liu@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®