Re: [PATCH for-next 03/13] IB/core: Add new ioctl interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 20, 2017 at 03:03:36PM +0300, Matan Barak wrote:

> What about the specification deceleration?
> Since this patch-set builds everything statically, we need somehow to
> hash the entities correctly
> according to their higher ids.

Don't try and build everything statically.

Do what I suggested in Santa Fe - have a .rodata description that is
easy for the programmer to build and understand, 'compile' that into a
fast-access version (eg a hash table, etc) that is suitable for runtime
use.

> When a developer wants to add additional attributes he can't just
> add them wherever he wants.  He needs to understand the
> implications. Attributes which are added as common attribute ids are

We can look at this stuff based on the attribute ID value and where in
the code it lives, not based on the type of a .rodata structure.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux