Re: [PATCH 0/2] Improved node descriptions
From: Roland Dreier <hidden>
Date: 2011-02-23 00:03:29
On Tue, Feb 22, 2011 at 3:43 PM, Jason Gunthorpe [off-list ref] wrote:
Doing it in userspace makes generating the node description changed trap simpler?
Hmm... how many places can do sethostname()? Seems easier to catch in the kernel than hook every place in userspace. (Although there's no kernel hook right now) I do agree it would be good to have some idea of how we could generate the "node desc changed" trap at appropriate times.
What about other drivers? I didn't see ehca in Mike's patch..
ehca doesn't implement modify_device --> can't set node desc anyway.
I just wonder if this is a big pain to do right, what about charsets, IDN, and ugly details like that?
Does anyone expect to care about non-ASCII node descs? What can we sensibly do except take what we're given? - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html