On Fri, 2009-04-03 at 18:08 -0700, Keith Packard wrote:
On Fri, 2009-04-03 at 17:03 -0700, Eric Anholt wrote:
+ obj_priv-bit_17 = kmalloc(page_count, GFP_KERNEL);
seems like you could save a bit of memory here by using 1 bit per page
instead of a byte.
Before, I was figuring it
On Sat, 2009-04-04 at 10:25 -0700, Eric Anholt wrote:
Before, I was figuring it was better to have easy code than memory
optimal code in my infrequently-tested workaround. Since recent notes
about kmalloc limits, I'll switch to using bitmap.h.
Yeah, a single page of bits will cover 32k of
On Fri, 2009-04-03 at 17:03 -0700, Eric Anholt wrote:
+ obj_priv-bit_17 = kmalloc(page_count, GFP_KERNEL);
seems like you could save a bit of memory here by using 1 bit per page
instead of a byte.
--
keith.pack...@intel.com
signature.asc
Description: This is a digitally signed
On Fri, 03 Apr 2009 18:08:14 -0700
Keith Packard kei...@keithp.com wrote:
On Fri, 2009-04-03 at 17:03 -0700, Eric Anholt wrote:
+ obj_priv-bit_17 = kmalloc(page_count, GFP_KERNEL);
seems like you could save a bit of memory here by using 1 bit per page
instead of a byte.
If