[PATCH v3 4/7] x86/vdso: Track each mm's loaded vdso image as well as its base

2015-12-29 Thread Andy Lutomirski
As we start to do more intelligent things with the vdso at runtime (as opposed to just at mm initialization time), we'll need to know which vdso is in use. In principle, we could guess based on the mm type, but that's over-complicated and error-prone. Instead, just track it in the mmu context.

[PATCH v3 4/7] x86/vdso: Track each mm's loaded vdso image as well as its base

2015-12-29 Thread Andy Lutomirski
As we start to do more intelligent things with the vdso at runtime (as opposed to just at mm initialization time), we'll need to know which vdso is in use. In principle, we could guess based on the mm type, but that's over-complicated and error-prone. Instead, just track it in the mmu context.