Re: [openib-general] [PATCH untested] IB/mthca: avoid wasting MTT enties on memfree

2007-01-08 Thread Michael S. Tsirkin
Subject: Re: [PATCH untested] IB/mthca: avoid wasting MTT enties on memfree > Have you tested this? No, didn't I make this clear? Sorry. I'm not in the lab at the moment, and my laptop does not have infiniband. That's why it says untested in the subject :). > I think it increases the amount of

Re: [openib-general] [PATCH untested] IB/mthca: avoid wasting MTT enties on memfree

2007-01-08 Thread Roland Dreier
Have you tested this? I think it increases the amount of memory needed for the buddy allocator bitmaps by a factor of 8, and right now those bitmaps are kmalloc()ed. So I'd be aftraid that it would make it impossible to load the module. Anyway this is definitely 2.6.21 material given that we're

[openib-general] [PATCH untested] IB/mthca: avoid wasting MTT enties on memfree

2007-01-08 Thread Michael S. Tsirkin
I looked at what be the clean fix for the MTT SEG handling in mthca, and I came up with the following (applies on top of the series I posted earlier). I think this gives us an important optimization. Roland, could you please give me a hint whether something like this is too big a change to get into