[Intel-gfx] [PATCH] drm/i915: Selectively enable self-reclaim
Linus Torvalds
torvalds at linux-foundation.org
Fri Jul 2 03:28:01 CEST 2010
On Thu, Jul 1, 2010 at 5:49 PM, Dave Airlie <airlied at gmail.com> wrote:
>
> RECLAIMABLE added also seems fine, of course you can't have
> RECLAIMABLE and MOVABLE (I find this out when it oopses on boot).
Yes. They are both flags for the anti-fragmentation code, and I think
I'll leave the decision as to whether the i915 driver should use
__GFP_RECLAIMABLE to the people who work with and care about the
fragmentation issues. I doubt it matters much in practice, at least
not for the loads that the fragmentation people tend to care most
about.
> So I suspect MOVABLE is the problem. but I don't know enough about gfp
> flags to know what RECLAIMABLE buys us, and where it might bite us so
> I can test some more.
I think I'll just apply your previous tested patch - GFP_HIGHUSER
should take care of all the flags that matter fundamentally, and then
the reclaimable flag is really just a small detail for others to worry
about.
Linus
More information about the Intel-gfx
mailing list