Re: [BUG] commit 3c517a61, slab: better fallback allocation behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good report - thanks.

Christoph - fallback_alloc() can be called with interrupts off.

I fixed the cpuset_zone_allowed() call from fallback_alloc() to avoid
sleeping.  Notice the __GFP_HARDWALL added in Linus's version, or the
new function cpuset_zone_allowed_hardwall() in Andrew's version, all
done in the last week.

But apparently kmem_getpages() can also sleep, as it calls __alloc_pages().

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <[email protected]> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux