Greg Wang
2011-07-20 08:57:20 UTC
hey,
After implement the on-demand loading function, everything works find except
the huge test.
As I observe, at the very beginning, it goes into infinity loop because its
keep calling as_active(). Since as_active() flush the TLB as default, it
just keep flushing and trying to write the same PTE for the same address (it’s a stack address) again and again.
Moreover, the huge test works great if I remove the TLB flushing code.
I really don't get why its doing that.
Thx,
Greg
After implement the on-demand loading function, everything works find except
the huge test.
As I observe, at the very beginning, it goes into infinity loop because its
keep calling as_active(). Since as_active() flush the TLB as default, it
just keep flushing and trying to write the same PTE for the same address (it’s a stack address) again and again.
Moreover, the huge test works great if I remove the TLB flushing code.
I really don't get why its doing that.
Thx,
Greg