Re: [patch 1/8] Processor degredation support.
- From: Pavel Machek <pavel@xxxxxx>
- Date: Wed, 28 Mar 2007 08:41:45 +0000
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/
- References:
- [patch 0/8] s390 patches for 2.6.22
- From: Heiko Carstens
- [patch 1/8] Processor degredation support.
- From: Heiko Carstens
- Re: [patch 1/8] Processor degredation support.
- From: Pavel Machek
- Re: [patch 1/8] Processor degredation support.
- From: Heiko Carstens
- [patch 0/8] s390 patches for 2.6.22
- Prev by Date: Re: 2.6.20.3-rt8 - DMA suffers excessive delay periodically
- Next by Date: Re: IPv6: Connection reset/timeout under heavy load
- Previous by thread: Re: [patch 1/8] Processor degredation support.
- Next by thread: [patch 3/8] Improved kernel stack overflow checking.
- Index(es):
Relevant Pages
|