[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adafxtllpac.fsf@cisco.com>
Date: Wed, 16 Apr 2008 09:47:55 -0700
From: Roland Dreier <rdreier@...co.com>
To: Matthew Wilcox <matthew@....cx>
Cc: Oliver Neukum <oliver@...kum.org>,
Ingo Oeser <ioe-lkml@...eria.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Peter Zijlstra <peterz@...radead.org>,
Bart Van Assche <bart.vanassche@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Daniel Walker <dwalker@...sta.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Replace completions with semaphores
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists