• A
    KVM: PPC: Interpret SR registers on demand · 8e865178
    Alexander Graf 提交于
    Right now we're examining the contents of Book3s_32's segment registers when
    the register is written and put the interpreted contents into a struct.
    
    There are two reasons this is bad. For starters, the struct has worse real-time
    performance, as it occupies more ram. But the more important part is that with
    segment registers being interpreted from their raw values, we can put them in
    the shared page, allowing guests to mess with them directly.
    
    This patch makes the internal representation of SRs be u32s.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    8e865178
book3s.c 37.5 KB