diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2015-07-09 14:19:30 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-07-17 18:18:04 +1000 |
commit | e9308884878942c618a42cab122df80fbf458dc9 (patch) | |
tree | 2f03adf139e17a71725c97f6a88a18affa5f24be /lib/lockref.c | |
parent | ef2b731759b9ae6380c9728b60ce92cf32683e94 (diff) | |
download | talos-obmc-linux-e9308884878942c618a42cab122df80fbf458dc9.tar.gz talos-obmc-linux-e9308884878942c618a42cab122df80fbf458dc9.zip |
drm/ttm: improve uncached page deallocation.
Calls to set_memory_wb() incure heavy TLB flush and IPI cost. To
minimize those wait until pool grow beyond batch size before
draining the pool.
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-and-Tested-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions