Messages in this thread | | | Date | Sun, 22 Nov 2015 14:23:52 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/9] IB: add a proper completion queue abstraction |
| |
On Sun, Nov 22, 2015 at 12:36:00PM +0200, Sagi Grimberg wrote: > >> Wouldn't it be a better idea to set the WQ_SYSFS interface and use >> the standard sysfs interface for specifying cpumasks or node affinity? > > I think that bart wants to allow the caller to select cpu affinity > per CQ. In this case ib_alloc_cq in workqueue mode would need to > accept a affinity_hint from the caller (default to wild-card > WORK_CPU_UNBOUND).
Hmm, true. How would be set that hint from userspace? I'd really prefer to see a practical justification for it first.
| |