On Mon, Sep 13, 2021 at 01:01:25PM -0700, Sohil Mehta wrote:
+What are these "reserved" for?
+/* User Posted Interrupt Descriptor (UPID) */
+struct uintr_upid {
+ struct {
+ u8 status; /* bit 0: ON, bit 1: SN, bit 2-7: reserved */
+ u8 reserved1; /* Reserved */
+ u8 nv; /* Notification vector */
+ u8 reserved2; /* Reserved */
+struct uintr_upid_ctx {Please use a kref for this and do not roll your own for no good reason.
+ struct uintr_upid *upid;
+ refcount_t refs;