public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Number of loopback devices
@ 2002-04-01  0:30 Dale Amon
  2002-04-01  7:52 ` Dumitru Ciobarcianu
  0 siblings, 1 reply; 3+ messages in thread
From: Dale Amon @ 2002-04-01  0:30 UTC (permalink / raw)
  To: linux-kernel

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Number of loopback devices
  2002-04-01  0:30 Number of loopback devices Dale Amon
@ 2002-04-01  7:52 ` Dumitru Ciobarcianu
  2002-04-01  8:17   ` Mark Atwood
  0 siblings, 1 reply; 3+ messages in thread
From: Dumitru Ciobarcianu @ 2002-04-01  7:52 UTC (permalink / raw)
  To: Dale Amon; +Cc: linux-kernel


It is configurable.

options loop max_loop=n

in modules.conf, or if youre using it builtin

max_loop=n at kernel options.

//Cioby

On Lu, 2002-04-01 at 03:30, Dale Amon wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Number of loopback devices
  2002-04-01  7:52 ` Dumitru Ciobarcianu
@ 2002-04-01  8:17   ` Mark Atwood
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Atwood @ 2002-04-01  8:17 UTC (permalink / raw)
  To: Dumitru Ciobarcianu; +Cc: Dale Amon, linux-kernel

Dumitru Ciobarcianu <cioby@lnx.ro> writes:
> 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?

-- 
Mark Atwood   | Well done is better than well said.
mra@pobox.com | 
http://www.pobox.com/~mra

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-01  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01  0:30 Number of loopback devices Dale Amon
2002-04-01  7:52 ` Dumitru Ciobarcianu
2002-04-01  8:17   ` Mark Atwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox