diff options
author | Christian König <[email protected]> | 2017-12-04 11:26:14 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-12-06 09:28:31 -0500 |
commit | e60bb46b5754727c7643cc5bb7b005c49f869930 (patch) | |
tree | f39c4fc505cf947bc42f33709881ce900a54cf94 /net/lapb/lapb_out.c | |
parent | 5ff7ec02f2f306d619c661ff8fd5392d3653d407 (diff) |
drm/ttm: swap consecutive allocated pooled pages v4
When we detect consecutive allocation of pages swap them to avoid
accidentally freeing them as huge page.
v2: use swap
v3: check if it's really the first allocated page
v4: don't touch the loop variable
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Roger He <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions