On Mon, Jun 21, 2010 at 05:18:56PM +0300, Gleb Natapov wrote: > Avi did the fix. We discussed using MADV_DONTFORK for that, but calling > madvise() from kernel deemed to be messy. Agree that calling madvise looks messy. It's possible to set VM_DONTCOPY under mmap_sem write mode and it'll work as well. But surely we can as well keep this quicker fix until the fork vs gup race is fixed, and back it out later. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html