RE: minor device number request for /dev/kvm (kernel-based virtual machine)

From: Mathiasen, Torben
Date: Thu Mar 01 2007 - 09:10:58 EST


> > If it does not increase memory usage, then possibly:
> >
> > __register_chrdev_region(major, 0, (~0U) & MINORMASK, name);
> > or (1<<MINORMASK)-1 if that's more
> clear
> >
> >
>
> I'm more worried about something in the chardev bowels not supporting
> >8bit minors well.
>

I was under the impression that large minors was supported for misc.
Skimming the code that does not seem to be the case. Can someone
comment?

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