Re: [PATCH 1/2] topology: Check for missing CPU devices

From: Linus Torvalds
Date: Mon Jan 09 2012 - 15:23:49 EST


On Sun, Jan 8, 2012 at 6:56 PM, Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote:
>
> I mean to say that we could have no CPU devices after the *second*
> patch.  So the first patch is an extra defence against that.  (Though we
> could just as well panic if register_cpu() fails at boot time.)

I think I'd rather just panic - if you have allocation issues during
early boot, the machine is hosed anyway - and then get rid of the
first patch?

Willing to send out a new patch along those lines (and with UML added)?

Thanks,
Linus
--
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/