[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH linux-2.6.18-xen] blktap: make max # of tap devices a module parameter



>>> On 22.02.11 at 15:20, Laszlo Ersek <lersek@xxxxxxxxxx> wrote:
> Hi,
> 
> should anybody still use the blktap(1) driver in linux-2.6.18-xen, the 
> following patch intends to make the maximum number of tapdevs 
> configurable at module insertion time. The number is clamped to [256 .. 
> NR_EVENT_CHANNELS]. I removed the definition of MAX_DEV_NAME because it 
> didn't seem to be used at all.
> 
> Thanks for considering,
> Laszlo Ersek

Without replacing the call to register_chrdev() with one to
__register_chrdev() (available only with 2.6.32 and newer) I
can't see how you would get beyond 256 devices with the
changes you propose.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.