Re: [PATCH v2 0/3] special_mapping_fault() is broken

From: Davidlohr Bueso
Date: Fri Jul 10 2015 - 14:20:36 EST


On Fri, 2015-07-10 at 18:51 +0200, Oleg Nesterov wrote:
> And after this change vma_is_anonymous() becomes really trivial, it
> simply checks vm_ops == NULL. However, I do think the helper makes
> sense. There are a lot of ->vm_ops != NULL checks, the helper makes
> the caller's code more understandable (self-documented) and this is
> more grep-friendly.

Yes, I for one, very much welcome this helper.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/