Re: [PATCH] mmc: make number of mmcblk minors configurable

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Wednesday, August 18, 2010 - 5:16 pm

On Tue, 17 Aug 2010 23:13:33 -0500
Olof Johansson <olof@lixom.net> wrote:


How does the numbering scheme change?  What's the user-visible effect
of setting CONFIG_MMC_BLOCK_MINORS to, say, 16?


If possible it would be better to do this with a kernel boot (or
modprobe) parameter.  That permits vendors to ship packaged kernels
with full functionality, etc.  Possible?  The default value of the
runtime-settable parameter could be Kconfigurable is there's a real
need for that.



So if I increase CONFIG_MMC_BLOCK_MINORS, I can no longer support as
many devices?  That'd be worth mentioning somewhere?

fwiw, the above could use DIV_ROUND_UP().


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mmc: make number of mmcblk minors configurable, Olof Johansson, (Tue Aug 17, 9:13 pm)
Re: [PATCH] mmc: make number of mmcblk minors configurable, Andrew Morton, (Wed Aug 18, 5:16 pm)
Re: [PATCH] mmc: make number of mmcblk minors configurable, Olof Johansson, (Wed Aug 18, 8:22 pm)
sys_init_module system call, runcoderen, (Fri Aug 20, 3:18 pm)
Re: sys_init_module system call, Randy Dunlap, (Fri Aug 20, 3:32 pm)
Re: sys_init_module system call, runcoderen, (Fri Aug 20, 3:50 pm)