Re: [PATCH 1/10] Cr4 is valid on some 486s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zachary Amsden wrote:
You still need to preserve the originals so that you can patch in both directions. In the dynamic scenario, you need a multi-way set of alternatives, with the most conservative of those compiled in inline.

Sure, alternatives_smp() puts both versions into the .altinstr_replacement section because of that ;)

The idea is to have SMP compiled in and let the normal apply_alternatives() handle the SMP->UP patching case using the new feature bit. apply_alternatives_smp() handles UP->SMP patching when you plug in a new virtual CPU.

cheers,

  Gerd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux