On Sat, Jan 12, 2019 at 10:14 AM Christoph Hellwig <h...@infradead.org> wrote: > > Lets see if this works better as a pull request than the > plain patches:
So I'm still debating this myself, which is why I haven't reacted. The reason I'm not entirely sure this makes sense is that not every user actually mmaps things into user space. And now if somebody for some reason doesn't want the overhead, there is really *no* way to say that. Maybe nobody cares. But from what I can tell, the mmap case is actually really quite rare (well, at least the regular "dma_mmap_attrs/coherent()" kind). I'd be happier if there at least was an interface to specify "yes, I want zeroing". But there isn't. You did not, for example, just make __GFP_ZERO work. No. You just said "GFP_ZERO hasn't worked reliably, so we had that other interface, and now we're doing it unconditionally, so we can remove the other interface". This all *despite* the fact that as far as I can tell, 95% of the users don't actually need or care about zeroing and don't really want it. So explain that. Linus