Re: [patch 1/8] Processor degredation support.



On Wed 2007-03-28 08:54:43, Heiko Carstens wrote:
+++ linux-2.6/drivers/s390/char/sclp_confmgm.c

Can we get less cyptic name?

Would you like to see sclp_configuration_management.c?

No, but maybe sclp_manager.c or sclp_config.c?


+static void sclp_conf_receiver_fn(struct evbuf_header *evbuf)
+{
+ struct conf_mgm_data *cdata;
+
+ cdata = (struct conf_mgm_data *)(evbuf + 1);
+ if (cdata->ev_qualifier == EV_QUAL_CAP_CHANGE)
+ /* Will be parsed. Don't change. */
+ printk(KERN_WARNING "sclp: CPU capability changed.\n");
+}

What's that? I do not think printk provides guaranteed delivery.

True. But which generic interface is currently used to notify user space
of state changes? Maybe a uevent for the cpu device..

Maybe.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/



Relevant Pages