[PATCH] extend prefault helpers to fault in more than PAGE_SIZE

2012-02-16 Thread Daniel Vetter
Hi all, drm/i915 has write/read paths to upload/download data to/from gpu buffer objects. For a bunch of reasons we have special fastpaths with decent setup costs, so when we fall back to the slow-path we don't fully recover to the fastest fast-path when grabbing our locks again. This is also in p

[PATCH] extend prefault helpers to fault in more than PAGE_SIZE

2012-02-16 Thread Daniel Vetter
Hi all, drm/i915 has write/read paths to upload/download data to/from gpu buffer objects. For a bunch of reasons we have special fastpaths with decent setup costs, so when we fall back to the slow-path we don't fully recover to the fastest fast-path when grabbing our locks again. This is also in p