lkml.org 
[lkml]   [2010]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2010-11-01 10:27    [W:0.039 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site