My patch will not compile and fails with:

include/linux/mmzone.h:335:2: error: #error ZONES_SHIFT -- too many
zones configured adjust calculation

Looking into this, I found in include/linux/gfp.h:

 * GFP_ZONE_TABLE is a word size bitstring that is used for looking up the
 * zone to use given the lowest 4 bits of gfp_t. Entries are ZONE_SHIFT long
 * and there are 16 of them to cover all possible combinations of
 * __GFP_DMA, __GFP_DMA32, __GFP_MOVABLE and __GFP_HIGHMEM.

So to add another zone I'd need to increase that to 25 (I think) and
this is way over my head.

I can see why no one is jumping for the chance to fix this bug, but I
hope someone out there might have an idea what to do. My approach is
pretty naieve and ultimately not the best idea. Ideally, there would be
a subzone of the DMA32 zone applied to specific PCI devices like the
emu10k1. If this could be done without redefining the entire DMA system
it would be wonderful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/183456

Title:
  Trying to load a sf2 file with asfxload returns "sfxload: no memory
  left"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awesfx/+bug/183456/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to