Linus Torvalds writes: (Summary) I'd rather expose less (think MAXCPU) and then have the
CPU hotplug code expose the page as the CPU comes up?
The "disgusting" part is that I think it could/should share more code
with the vsyscall case, and the whole target-pte checking and setting
should be shared too.
should be shared too.
Beause not being shared, I react to this:
Beause not being shared, I react to this:
so, why doesn't the vsyscall case need it?
Anyway, I love the approach, and how this gets rid of the nasty trampoline, so no real complaints, just "this needs some fixups".
should be shared too.
Beause not being shared, I react to this:
Beause not being shared, I react to this:
[...]
+ set_pte(target_pte, pfn_pte(pa >> Do we want/need the PVOP cases, and if so, why doesn't the vsyscall case need it?so, why doesn't the vsyscall case need it?
Anyway, I love the approach, and how this gets rid of the nasty trampoline, so no real complaints, just "this needs some fixups".