Yorick Hardy yha@na.rau.ac.za writes:
Also in libs/wine/mmap.c line 119 the result of mincore is never tested, should it not be
if ( (mincore( (caddr_t)addr + i, pagesize, &vec ) != -1) && (vec&1) )
No, the goal is to check if something is mapped there, we don't actually care whether it's in core or swapped out.