Skip to contentSkip to conversation

Number of loopback devices

DISCUSSION Dale Amon 3 participants 3 messages Apr 1, 2002

lore
Share & tools
lore

Dale Amon

author
#0 lore raw

Loopbacks are so damned useful that I'm certain I'll soon run out of them, and I doubt I'm the only person in that position, particularly with some of the improvements in the crypto patches making it possible to run an all crypto system.

I note that the number is set in loop.c

	static int max_loop = 8;

and I wonder what the safe upper limit for this is, and if there is some reason for not making it larger or perhaps making it a CONFIGurable item?

#1 lore raw

It is configurable.

options loop max_loop=n

in modules.conf, or if youre using it builtin

max_loop=n at kernel options.

//Cioby

Quoted 20 lines · Dale Amon

Loopbacks are so damned useful that I'm certain I'll soon run out of them, and I doubt I'm the only person in that position, particularly with some of the improvements in the crypto patches making it possible to run an all crypto system.

I note that the number is set in loop.c

	static int max_loop = 8;

and I wonder what the safe upper limit for this is, and if there is some reason for not making it larger or perhaps making it a CONFIGurable item?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Dale Amon
Quoted 5 lines · Dumitru Ciobarcianu

It is configurable.

options loop max_loop=n

in modules.conf, or if youre using it builtin

Does it take lots of kernal memory to set it high? Or how hard would it be to make it eventually completely dynamic?

Signature · 3 lines
Mark Atwood   | Well done is better than well said.
[email protected] | 
http://www.pobox.com/~mra