Messages in this thread |  | | | From | Roland Dreier <> | | Subject | Re: [PATCH] Replace completions with semaphores | | Date | Wed, 16 Apr 2008 09:47:55 -0700 |
| |
> The cookies aren't checked by the kcounter implementation if > CONFIG_DEBUG_KCOUNTER isn't set. So you can avoid storing them if it's > *really* that important to shrink your data structures.
I guess if anyone cared we could have something analogous to DECLARE_PCI_UNMAP_ADDR() et al that compiles to nothing if CONFIG_DEBUG_KCOUNTER isn't set. But I'm not sure it's worth it. Certainly for the mthca/mlx4 cases of semaphore use there's no problem holding onto a cookie.
- R.
|  |