> > >>>> B) why bother to check? Are machines with <4GB interesting, and worth > > >>>> supporting a special optimization? > > >>> > > >>> No, but cxgb3 is still interesting to user applications, and perhaps NFSRDMA using FRMRs. > > >> > > >> I'm obviously not making myself clear. I am suggesting that cxgb3 fail > > >> the ib_get_dma_mr() verb, regardless of installed memory. > > >> > > >> I am not suggesting it fail to load, or fail other memreg requests. It > > >> should work normally in all other respects. > > > > > > Even with its limitation, doesn't it have utility for someone using cxgb3 in an embedded 32b environment? > > > > Sure, do you mean making it conditional on #if sizeof(physaddr) <= 32? > > That would make sense I guess. > > No, a runtime check. x64 platforms will work too if the mem size takes <= 32b to describe. Jason/Doug, do you think it should allow dma mr allocaton iff totalmem_pages < 4GB? Or do a check on the sizeof totalmem_pages and only allow dma mrs if it is <= 4? -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html