[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101101092947.GB6023@cr0.nay.redhat.com>
Date: Mon, 1 Nov 2010 17:29:47 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: tingwei liu <tingw.liu@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: How many params can be accept by kernel module at most?
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists