On 03/13/2018 05:49 AM, Kirill A. Shutemov wrote: > On Tue, Mar 13, 2018 at 03:12:02PM +1300, Kai Huang wrote: >> It seems setup_pku() will call get_cpu_cap to restore c->x86_phys_bits >> later? In which case I think you need to change setup_pku as well. > Thanks for catching this. > > I think setup_pku() shouldn't call get_cpu_cap(). I think if you want to make it illegal to call get_cpu_cap() twice, you should enforce that. -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |