author | Alexandre Julliard <julliard@winehq.org> | |
Wed, 14 Feb 2007 17:11:40 +0000 (18:11 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 14 Feb 2007 23:22:08 +0000 (15:22 -0800) | ||
commit | 78a28df9388cccb1ec85aa5642808f0d3392155f | |
tree | 6d34e910bb9eaf23e18d7e5089fb1c0c322fdcc2 | tree | snapshot |
parent | 5faaf24634a4d3a630bd3655cc85fa96f8bc1903 | commit | diff |
sha1_file.c: Round the mmap offset to half the window size.
This ensures that a given area is mapped at most twice, and greatly
reduces the virtual address space usage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This ensures that a given area is mapped at most twice, and greatly
reduces the virtual address space usage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |