diff options
author | Mandeep Singh Baines <[email protected]> | 2012-07-30 14:43:22 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-07-30 17:25:22 -0700 |
commit | e04f228335bde305d2833e40382ed37fc36f9efe (patch) | |
tree | b942a4540c99d44bba5e0950c92f089a2f621ebf /lib/mpi/mpi-internal.h | |
parent | c24aa64d169b7224f1a5bc6a4b1365da37ce861b (diff) |
lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
We are seeing a lot of sg_alloc_table allocation failures using the new
drm prime infrastructure. We isolated the cause to code in
__sg_alloc_table that was re-writing the gfp_flags.
There is a comment in the code that suggest that there is an assumption
about the allocation coming from a memory pool. This was likely true
when sg lists were primarily used for disk I/O.
Signed-off-by: Mandeep Singh Baines <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Inki Dae <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Sonny Rao <[email protected]>
Cc: Olof Johansson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions