On Tue 23-08-16 00:01:23, Michael S. Tsirkin wrote: [...] > Actually, vhost net calls out to tun which does regular copy_from_iter. > Returning 0 there will cause corrupted packets in the network: not a > huge deal, but ugly. And I don't think we want to annotate run and > macvtap as well. Hmm, OK, I wasn't aware of that path and being consistent here matters. If the vhost driver can interact with other subsystems then there is really no other option than hooking into the page fault path. Ohh well. -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>