On Fri, 2008-06-20 at 11:36 -0500, Kumar Gala wrote: > This is a work in progress towards make lwsync fixed up at runtime. The > patch is based (requires) the module refactoring patch. Some of this code > should be reworked based on the code patching work from Michael. Also, > ppc64 and vdso support needs a bit of cleaning up.
Hi Kumar, This will clash in practice, though not in spirit, with the stuff I've been working on to allow alternative feature sections. The code is in my tree on kernel.org if you want to check it out, I was about to send yesterday it but realised it breaks if you have exception table entries in your alternative case code >:/ http://git.kernel.org/?p=linux/kernel/git/mpe/linux-2.6.git;a=summary > Some questions: > * How do we determine at runtime if we need to convert sync to lwsync. > This is simliar to cpu_feature but has the issue that cpu_feature is about > either having code in or not. Isn't it just if cpus_possible = 1 ? > * Do we simplify the section of fixup information and remove the mask and > value since we don't use them and they double the size of the section I guess it depends how many you end up with. My patches add another two longs to the fixup entry also. It is all freed after boot. cheers -- Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev