Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:PROT_WRITE is true, but we do MAP_PRIVATE, and if I recall correctly we do not write file via mmap -- at least we do not intend to. - index file is mapped for reading, long ago it was mapped read-only but these days we do PROT_WRITE, but updates are done via opening a new file and writing afresh. - objects are mapped for reading, but, never updated once created. Creation side is regular open - write - close. - diff reads original by mapping, but obviously has no business writing. - local-fetch reads original by mapping for copying. Yes. It might have been overkill that you supported writing changes back, though. . - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Miller | [GIT]: Networking |
| Thomas Gleixner | Re: Regression in 2.6.27 caused by commit bfc0f59 |
| Rafael J. Wysocki | [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected |
| jmerkey | [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released |
git: | |
| Mike | I don't want the .git directory next to my code. |
| Kevin Ballard | Re: git on MacOSX and files with decomposed utf-8 file names |
| Karl | Re: git-svn should default to --repack |
| Ken Pratt | pack operation is thrashing my server |
| carlopmart | About Xen: maybe a reiterative question but .. |
| NetOne - Doichin Dokov | OpenBSD as Xen domU |
| Nick Guenther | Re: Real men don't attack straw men |
| Paul Barbeau | RAID/Intel Installation Problem |
| Wang Chen | [V#2 PATCH 0/18] netdevice: Fix directly reference of netdev->priv |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Alexey Kuznetsov | Re: [TCP]: TCP_DEFER_ACCEPT causes leak sockets |
| Alexey Dobriyan | Re: [GIT]: Networking |
