> munmap/close time.... one of his ideas included explicitly unmapping
> each page once the app done writing to it (100% sequential writes),
> although something that could generate this behavior implicitly
> would be fantastic.
POSIX has specified the msync syscall to do this. If you call it after
each page you write with the MS_ASYNC flag it should schedual an IO for
that page and return immediately.
Jason
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/