On Wed, Oct 21, 2015 at 10:41:13AM +0300, Or Gerlitz wrote: > I know, but a patch that adds caching an attr pointer on the device will > remove these local caches, > we actually had that/similar patch posted here and it was dropped/forgotten. > >> so if you use one of those you're >> already having one of them per device. If you use two of them you >> have multiple copies plus individual fields caches by other ULDs and core >> code. > > again, the method I propose does remove these duplications all together. > > I am still waiting to hear what is the precise argument for having this > change.
It does everything the pointer does, but in addition saves memory (no rounding up of the slab size), reduces pointer chasing and makes and API that's easier to use and more similar to how all other major Linux subsystems work. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
