[lkml]   [2005]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/10] Cr4 is valid on some 486s
Gerd Knorr wrote:

>> Yep, extending alternatives is probably better than duplicating the
>> code. Maybe having some alternative_smp() macro which places both
>> code versions into the .altinstr_replacement table? If that sounds
>> ok I'll try to come up with a experimental patch.
> i.e. something like this (as basic idea, patch is far away from doing
> anything useful ...)?

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-11-15 17:06    [W:0.165 / U:0.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site