Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-05 Thread Keshavamurthy, Anil S
On Tue, Jun 05, 2007 at 04:30:48PM -0400, Jeff Garzik wrote: > On Tue, Jun 05, 2007 at 01:24:33PM -0700, Keshavamurthy, Anil S wrote: > > 1 file changed, 65 insertions(+), 19 deletions(-) > > > > Index: linux-2.6.22-rc3/lib/respool.c > > ===

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-05 Thread Jeff Garzik
On Tue, Jun 05, 2007 at 01:24:33PM -0700, Keshavamurthy, Anil S wrote: > 1 file changed, 65 insertions(+), 19 deletions(-) > > Index: linux-2.6.22-rc3/lib/respool.c > === > --- linux-2.6.22-rc3.orig/lib/respool.c 2007-06-05 12:

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-05 Thread Keshavamurthy, Anil S
On Mon, Jun 04, 2007 at 04:51:05PM -0700, Keshavamurthy, Anil S wrote: > On Mon, Jun 04, 2007 at 07:43:54PM -0400, Jeff Garzik wrote: > > On Mon, Jun 04, 2007 at 04:06:49PM -0700, Keshavamurthy, Anil S wrote: > > > On Mon, Jun 04, 2007 at 06:57:14PM -0400, Jeff Garzik wrote: > > > > you should add

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-04 Thread Keshavamurthy, Anil S
On Mon, Jun 04, 2007 at 07:43:54PM -0400, Jeff Garzik wrote: > On Mon, Jun 04, 2007 at 04:06:49PM -0700, Keshavamurthy, Anil S wrote: > > On Mon, Jun 04, 2007 at 06:57:14PM -0400, Jeff Garzik wrote: > > > you should add logic to free resources here (or queue_work to free the > > > resources), if th

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-04 Thread Jeff Garzik
On Mon, Jun 04, 2007 at 04:06:49PM -0700, Keshavamurthy, Anil S wrote: > On Mon, Jun 04, 2007 at 06:57:14PM -0400, Jeff Garzik wrote: > > you should add logic to free resources here (or queue_work to free the > > resources), if the pool grows beyond a certain size. > Can be added as an add on, tes

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-04 Thread Keshavamurthy, Anil S
On Mon, Jun 04, 2007 at 06:57:14PM -0400, Jeff Garzik wrote: > On Mon, Jun 04, 2007 at 02:02:44PM -0700, [EMAIL PROTECTED] wrote: > > This patch provides a common interface for pre allocating and > > managing pool of objects. > > > > Signed-off-by: Anil S Keshavamurthy <[EMAIL PROTECTED]> > >

Re: [Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-04 Thread Jeff Garzik
On Mon, Jun 04, 2007 at 02:02:44PM -0700, [EMAIL PROTECTED] wrote: > This patch provides a common interface for pre allocating and > managing pool of objects. > > Signed-off-by: Anil S Keshavamurthy <[EMAIL PROTECTED]> > --- > include/linux/respool.h | 43 +++ > lib/Makefile

[Intel-IOMMU 02/10] Library routines for handling pre-allocated pool of objects

2007-06-04 Thread anil . s . keshavamurthy
This patch provides a common interface for pre allocating and managing pool of objects. Signed-off-by: Anil S Keshavamurthy <[EMAIL PROTECTED]> --- include/linux/respool.h | 43 +++ lib/Makefile|1 lib/respool.c | 176