> Also, when NX bit is reset for the first 1MB (or smaller) in > do_sys_vm86(), it also works as expected. But I have little clue > where to restore the bit again. > > Any good suggestions / solutions?
Does it behave if you clear NX just for 640K-1MB, and page 0 ?