logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[PATCH] Gutsy: avoid PIT clocksource when VMI is active: msg#00000

Subject: [PATCH] Gutsy: avoid PIT clocksource when VMI is active
This is a multi-part message in MIME format.
Please apply the attached patch for the next Gutsy kernel update.

This issue can sometimes result in the virtual PIT firing when the kernel doesn't really want it -- it's not fatal, but suboptimal. The patch affects code that executes only when booted on a VMI hypervisor.

Thanks,
Dan
Initialize the vmi clocksource at late_time_init time rather than initcall time.

Otherwise, the PIT clocksource can have a chance to run as either the main 
clocksource or the watchdog.  This is problematic because the PIT clocksource 
read routine, pit_read(), can have side effects -- it can cause the PIT to 
be reprogrammed into periodic mode.

Signed-off-by: Dan Hecht <dhecht@xxxxxxxxxx>
===================================================================

--- a/arch/i386/kernel/vmiclock.c       2007-08-10 16:26:16.000000000 -0700
+++ b/arch/i386/kernel/vmiclock.c       2007-10-25 13:56:34.000000000 -0700
@@ -41,6 +41,8 @@
 
 static DEFINE_PER_CPU(struct clock_event_device, local_events);
 
+static int __init init_vmi_clocksource(void);
+
 static inline u32 vmi_counter(u32 flags)
 {
        /* Given VMI_ONESHOT or VMI_PERIODIC, return the corresponding
@@ -238,6 +240,7 @@
        /* Disable PIT: BIOSes start PIT CH0 with 18.2hz peridic. */
        outb_p(0x3a, PIT_MODE); /* binary, mode 5, LSB/MSB, ch 0 */
 
+       init_vmi_clocksource();
        vmi_time_init_clockevent();
        setup_irq(0, &vmi_clock_action);
 }
@@ -315,4 +318,3 @@
        return clocksource_register(&clocksource_vmi);
 
 }
-module_init(init_vmi_clocksource);

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe