• [^] # Re: Auto chargement de code optimisé

    Posté par . En réponse à la dépêche Sortie du noyau Linux 2.6.18. Évalué à 6.

    Comme ça?

    SMP "alternatives" for x86-32. This features detects the configuration of the system at boot time, and patches certain instructions in the kernel image on the fly with optimized versions for UP or SMP, depending on what system is running. This is useful for distros, who can provide a single kernel which auto-optimizes itself for UP or SMP environments. The feature can patch both SMP->UP and UP->SMP. The UP->SMP case is useful for CPU hotplug (which may be useful in virtualized environments to hot-add/remove CPUs in virtualized guests in reaction to load changes in the host) (LWN article) (commit)



    http://lwn.net/Articles/164121/

    Ca a été implémenté dans le 2.6.17.