lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromRoland Dreier <>
SubjectRe: [PATCH] Replace completions with semaphores
DateWed, 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.


\
 
 \ /
  Last update: 2008-04-16 18:51    [from the cache]
©2003-2010