Re: [PATCH -v8 4/4] The design document for memory-mapped file times update

From: Miklos Szeredi
Date: Wed Jan 23 2008 - 05:53:24 EST


> I've already written in the cover letter that functional tests passed
> successfully.
>
> debian:~/times# ./times /mnt/file
> begin 1201084493 1201084493 1201084281
> write 1201084494 1201084494 1201084281
> mmap 1201084494 1201084494 1201084495
> b 1201084496 1201084496 1201084495

Ah, OK, this is becuase mmap doesn't actually set up the page tables
by default. Try adding MAP_POPULATE to the flags.

Please also try

./times /mnt/file -s

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/