alternatives

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

 



hello list,
I've seen that there are two section (.altinstructions and
.altinstr_replacement), there are some "polimorphic" code that is
replaced at runtime, now in arch/x86_64/lib/copy_user.S there are
copy_user_generic_unrolled and copy_user_generic_string, that replaces
the function that is used, my question is: where and how the decision
on what code is used (in this case
copy_user_generic_unrolled or copy_user_generic_string) for replace code?

thanks in advance.
-- 
noone is alone.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux